projects
/
emu8051.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add option no-define to AM_INIT_AUTOMAKE
[emu8051.git]
/
tests
/
mul1.asm
diff --git
a/tests/mul1.asm
b/tests/mul1.asm
index
4e600a6
..
5efccf2
100644
(file)
--- a/
tests/mul1.asm
+++ b/
tests/mul1.asm
@@
-1,11
+1,11
@@
; Test program to verify correct emu8051 operation
;
; Test desc: MUL AB (no overflow)
; Test program to verify correct emu8051 operation
;
; Test desc: MUL AB (no overflow)
-; Test output
1: ACC = 0xC2
-; Test output
2: B = 0x00
-; Test output
2: PSW = 0x01
-
- CSEG
+; Test output
: PC = $FFF0
+; Test output
: SP = $07
+; Test output
: A = $C2
+; Test output: B = $00
+; Test output: PSW = $01
ORG 0000h ; Reset vector
ORG 0000h ; Reset vector
@@
-13,4
+13,5
@@
MOV B, #002h
MUL AB ; CY should be cleared, OV should be cleared
MOV B, #002h
MUL AB ; CY should be cleared, OV should be cleared
+ LJMP 0FFF0h
END
END