; Test output: PSW = $E0
; Test output: TCON = $01
- CSEG
-
ORG 0000h ; Reset vector
MOV PSW, #0E0h
; Test output: B = $00
; Test output: PSW = $00
- CSEG
-
ORG 0000h ; Reset vector
MOV A, #0FFh
; Test output: DPTR = $9876
; Test output: R0 = $66
- CSEG
-
ORG 0000h ; Reset vector
MOV A, #099h
; Test output: B = $00
; Test output: PSW = $01
- CSEG
-
ORG 0000h ; Reset vector
MOV A, #061h
; Test output: B = $0B
; Test output: PSW = $05
- CSEG
-
ORG 0000h ; Reset vector
MOV A, #099h
; Test output: PSW = $E0
; Test output: TCON = $01
- CSEG
-
ORG 0000h ; Reset vector
MOV PSW, #0E0h
TOS EQU 60h ; Adresse du dessus de la pile.
- CSEG
-
ORG 0000h ; Reset vector
MOV SP,#TOS ; Init stack pointer
TOS EQU 60h ; Adresse du dessus de la pile.
- CSEG
-
ORG 0000h ; Reset vector
MOV SP,#TOS ; Init stack pointer
TOS EQU 60h ; Adresse du dessus de la pile.
- CSEG
-
ORG 0000h ; Reset vector
MOV SP,#TOS ; Init stack pointer