mirror of
https://github.com/A2osX/A2osX.git
synced 2024-11-25 20:33:13 +00:00
36 lines
855 B
Plaintext
36 lines
855 B
Plaintext
|
PR#3
|
|||
|
NEW
|
|||
|
AUTO 6
|
|||
|
.TF /DATA/A2OS/BIN/ASM.T.Z80
|
|||
|
.OR $2000
|
|||
|
*---------------------------------------
|
|||
|
.MA AMS AMSID,"Syntax",0,"Operand",0,"Rule",0
|
|||
|
.DA #]1
|
|||
|
.AS ]2
|
|||
|
.DA #0
|
|||
|
.AS ]3
|
|||
|
.DA #0
|
|||
|
.AS ]4
|
|||
|
.DA #0
|
|||
|
.EM
|
|||
|
.DA T.ADDR.MODES.SYNTAX
|
|||
|
.DA T.OPCODES
|
|||
|
*---------------------------------------
|
|||
|
T.ADDR.MODES.SYNTAX >AMS 1,"","","" Implicit
|
|||
|
>AMS 2,"#$1",$1","" Immediate8
|
|||
|
>AMS 3,"#$2",$2","" Immediate16
|
|||
|
>AMS 4, Modified zp
|
|||
|
>AMS 3,"$2","$1=$2-@+1","-127<$1<128" rel
|
|||
|
>AMS 6,"$2","$2","" abs
|
|||
|
|
|||
|
*---------------------------------------
|
|||
|
T.OPCODES .AS "ADC"
|
|||
|
.HS 0
|
|||
|
.HS 2,$69,4,$65,5,$75,6,$6D,7,$7D,8,$79,11,$61,12,$71
|
|||
|
.HS 0
|
|||
|
*---------------------------------------
|
|||
|
.HS 0
|
|||
|
MAN
|
|||
|
SAVE /DATA/A2OS/BIN/ASM.T.Z80.S
|
|||
|
ASM
|
|||
|
|