mirror of
https://github.com/A2osX/A2osX.git
synced 2024-11-22 16:31:07 +00:00
f34e2b5f7c
-Loader is now working (todo:rename to A2osX.system,tSYS) -most of BINs working -CR->CR/LF
36 lines
890 B
Plaintext
36 lines
890 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
|
||
|