deepjit: bugfixed deepjit wit dt_inc
[calu.git] / progs / deepjit.s
index 871879aed2da7e32eaa8a5c86586a324a33808ed..6f1cb91eaf728f195ab969c5d68cec3cb8b68e4f 100644 (file)
@@ -116,9 +116,6 @@ main:
        call+ u_init
        call+ u_recv_byte
 
-       ldis r1, 0x48
-       call+ u_send_byte
-
        ;set address of input
        ldis r1, inputdata@lo
        ldih r1, inputdata@hi
@@ -156,10 +153,10 @@ main:
        ;call jit'ed prog
        call+ prog_start
 
+       ;send result
        call+ u_init
-
        mov r1, r0
-       call+ u_send_byte
+       call u_send_byte
 
        br+ main
 
@@ -620,7 +617,6 @@ vm_not:
 
        br+ vm_loop
 
-prog_start:
 
 .data
 jumptable: