Implement workaround for flex --header-file option
[emu8051.git] / tests / mul2.asm
index ec931d6..33c46dd 100644 (file)
@@ -1,11 +1,11 @@
 ; Test program to verify correct emu8051 operation
 ;
 ; Test desc: MUL AB (overflow)
-; Test output1: ACC = 0x5B
-; Test output2: B = 0x0B
-; Test output3: PSW = 0x05
-
-        CSEG
+; Test output: PC = $FFF0
+; Test output: SP = $07
+; Test output: A = $5B
+; Test output: B = $0B
+; Test output: PSW = $05
 
         ORG     0000h           ; Reset vector
 
@@ -13,4 +13,5 @@
         MOV     B, #013h
         MUL     AB              ; CY should be cleared, OV should be cleared
 
+        LJMP    0FFF0h
         END