mirror of
https://github.com/HEYAHONG/emu8051.git
synced 2025-05-08 22:09:27 +08:00
Remove CSEG directive for compatibility with AS31 and AS504 assemblers
This commit is contained in:
parent
7977d9426b
commit
091899a37a
@ -8,8 +8,6 @@
|
|||||||
; Test output: PSW = $E0
|
; Test output: PSW = $E0
|
||||||
; Test output: TCON = $01
|
; Test output: TCON = $01
|
||||||
|
|
||||||
CSEG
|
|
||||||
|
|
||||||
ORG 0000h ; Reset vector
|
ORG 0000h ; Reset vector
|
||||||
|
|
||||||
MOV PSW, #0E0h
|
MOV PSW, #0E0h
|
||||||
|
@ -7,8 +7,6 @@
|
|||||||
; Test output: B = $00
|
; Test output: B = $00
|
||||||
; Test output: PSW = $00
|
; Test output: PSW = $00
|
||||||
|
|
||||||
CSEG
|
|
||||||
|
|
||||||
ORG 0000h ; Reset vector
|
ORG 0000h ; Reset vector
|
||||||
|
|
||||||
MOV A, #0FFh
|
MOV A, #0FFh
|
||||||
|
@ -9,8 +9,6 @@
|
|||||||
; Test output: DPTR = $9876
|
; Test output: DPTR = $9876
|
||||||
; Test output: R0 = $66
|
; Test output: R0 = $66
|
||||||
|
|
||||||
CSEG
|
|
||||||
|
|
||||||
ORG 0000h ; Reset vector
|
ORG 0000h ; Reset vector
|
||||||
|
|
||||||
MOV A, #099h
|
MOV A, #099h
|
||||||
|
@ -7,8 +7,6 @@
|
|||||||
; Test output: B = $00
|
; Test output: B = $00
|
||||||
; Test output: PSW = $01
|
; Test output: PSW = $01
|
||||||
|
|
||||||
CSEG
|
|
||||||
|
|
||||||
ORG 0000h ; Reset vector
|
ORG 0000h ; Reset vector
|
||||||
|
|
||||||
MOV A, #061h
|
MOV A, #061h
|
||||||
|
@ -7,8 +7,6 @@
|
|||||||
; Test output: B = $0B
|
; Test output: B = $0B
|
||||||
; Test output: PSW = $05
|
; Test output: PSW = $05
|
||||||
|
|
||||||
CSEG
|
|
||||||
|
|
||||||
ORG 0000h ; Reset vector
|
ORG 0000h ; Reset vector
|
||||||
|
|
||||||
MOV A, #099h
|
MOV A, #099h
|
||||||
|
@ -7,8 +7,6 @@
|
|||||||
; Test output: PSW = $E0
|
; Test output: PSW = $E0
|
||||||
; Test output: TCON = $01
|
; Test output: TCON = $01
|
||||||
|
|
||||||
CSEG
|
|
||||||
|
|
||||||
ORG 0000h ; Reset vector
|
ORG 0000h ; Reset vector
|
||||||
|
|
||||||
MOV PSW, #0E0h
|
MOV PSW, #0E0h
|
||||||
|
@ -15,8 +15,6 @@
|
|||||||
|
|
||||||
TOS EQU 60h ; Adresse du dessus de la pile.
|
TOS EQU 60h ; Adresse du dessus de la pile.
|
||||||
|
|
||||||
CSEG
|
|
||||||
|
|
||||||
ORG 0000h ; Reset vector
|
ORG 0000h ; Reset vector
|
||||||
MOV SP,#TOS ; Init stack pointer
|
MOV SP,#TOS ; Init stack pointer
|
||||||
|
|
||||||
|
@ -15,8 +15,6 @@
|
|||||||
|
|
||||||
TOS EQU 60h ; Adresse du dessus de la pile.
|
TOS EQU 60h ; Adresse du dessus de la pile.
|
||||||
|
|
||||||
CSEG
|
|
||||||
|
|
||||||
ORG 0000h ; Reset vector
|
ORG 0000h ; Reset vector
|
||||||
MOV SP,#TOS ; Init stack pointer
|
MOV SP,#TOS ; Init stack pointer
|
||||||
|
|
||||||
|
@ -15,8 +15,6 @@
|
|||||||
|
|
||||||
TOS EQU 60h ; Adresse du dessus de la pile.
|
TOS EQU 60h ; Adresse du dessus de la pile.
|
||||||
|
|
||||||
CSEG
|
|
||||||
|
|
||||||
ORG 0000h ; Reset vector
|
ORG 0000h ; Reset vector
|
||||||
MOV SP,#TOS ; Init stack pointer
|
MOV SP,#TOS ; Init stack pointer
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user