X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=8_benchs%2Fsrc%2Fvm.s;h=635ae332d1867185996280cd99b1773ae0d8da0c;hb=e3e51aa23d772b1dd08da16f330a9f8616924226;hp=c39a84797904649acec73f7228215012f63e54c7;hpb=39b3fc6ba58ab1ff1c7ed04bacc15c8fcc987950;p=calu.git diff --git a/8_benchs/src/vm.s b/8_benchs/src/vm.s index c39a847..635ae33 100644 --- a/8_benchs/src/vm.s +++ b/8_benchs/src/vm.s @@ -149,11 +149,11 @@ vm_lessthan: ;load sp-1 ldw r7, 0-4(r3) ;load r8 with 0 - ldi r8, 0 + ldis r8, 0 ;compare sp-1 with sp cmp r7, r6 ;set r8 to -1 if less than - ldilt r8, 1 + ldislt r8, 0xFF ;store r8 to sp-1 stw r8, 0-4(r3) br+ vm_loop