2015-10-16 15:35:11 +00:00
|
|
|
|
PR# 3
|
2017-03-29 15:48:15 +00:00
|
|
|
|
PREFIX /A2OSX.BUILD
|
2015-03-14 21:47:37 +00:00
|
|
|
|
NEW
|
2015-09-16 20:48:59 +00:00
|
|
|
|
INC 1
|
2015-03-14 21:47:37 +00:00
|
|
|
|
AUTO 6
|
2015-10-21 16:24:11 +00:00
|
|
|
|
.LIST OFF
|
2015-10-28 16:55:12 +00:00
|
|
|
|
.OR $0
|
2017-03-29 15:48:15 +00:00
|
|
|
|
.TF /A2OSX.BUILD/BIN/ASM.T.Z80
|
2015-10-21 16:24:11 +00:00
|
|
|
|
*---------------------------------------
|
2015-10-28 16:55:12 +00:00
|
|
|
|
.MA ST
|
2015-10-21 16:24:11 +00:00
|
|
|
|
.DA #:1-*-1
|
|
|
|
|
.AS "]1"
|
|
|
|
|
:1 .EQ *
|
|
|
|
|
.EM
|
|
|
|
|
*---------------------------------------
|
|
|
|
|
.DA T.ADDR.MODES
|
|
|
|
|
.DA T.REGISTERS
|
|
|
|
|
.DA T.OPCODES
|
|
|
|
|
*---------------------------------------
|
2015-10-16 15:35:11 +00:00
|
|
|
|
T.ADDR.MODES .EQ *
|
2015-10-28 16:55:12 +00:00
|
|
|
|
>ST "A,(HL)"
|
|
|
|
|
>ST "A,(IX+a)"
|
|
|
|
|
>ST "A,(IY+a)"
|
|
|
|
|
>ST "A,A"
|
|
|
|
|
>ST "A,a"
|
|
|
|
|
>ST "A,B"
|
|
|
|
|
>ST "A,C"
|
|
|
|
|
>ST "A,D"
|
|
|
|
|
>ST "A,E"
|
|
|
|
|
>ST "A,H"
|
|
|
|
|
>ST "A,L"
|
|
|
|
|
>ST "HL,BC"
|
|
|
|
|
>ST "HL,DE"
|
|
|
|
|
>ST "HL,HL"
|
|
|
|
|
>ST "HL,SP"
|
|
|
|
|
>ST "IX,BC"
|
|
|
|
|
>ST "IX,DE"
|
|
|
|
|
>ST "IX,IX"
|
|
|
|
|
>ST "IX,SP"
|
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
|
|
|
>ST "L,E"
|
|
|
|
|
>ST "L,H"
|
|
|
|
|
>ST "L,L"
|
|
|
|
|
>ST "R,A"
|
|
|
|
|
>ST "SP,(aa)"
|
|
|
|
|
>ST "SP,aa"
|
|
|
|
|
>ST "SP,HL"
|
|
|
|
|
>ST "SP,IX"
|
|
|
|
|
>ST "SP,IY"
|
|
|
|
|
>ST "(a),A"
|
|
|
|
|
>ST "(C),A"
|
|
|
|
|
>ST "(C),B"
|
|
|
|
|
>ST "(C),C"
|
|
|
|
|
>ST "(C),D"
|
|
|
|
|
>ST "(C),E"
|
|
|
|
|
>ST "(C),H"
|
|
|
|
|
>ST "(C),L"
|
|
|
|
|
>ST "AF"
|
2015-10-21 16:24:11 +00:00
|
|
|
|
.HS 00
|
|
|
|
|
*---------------------------------------
|
|
|
|
|
T.REGISTERS .EQ *
|
2015-10-28 16:55:12 +00:00
|
|
|
|
>ST "A"
|
|
|
|
|
>ST "HL"
|
|
|
|
|
>ST "IX"
|
|
|
|
|
>ST "IY"
|
|
|
|
|
>ST "B"
|
|
|
|
|
>ST "C"
|
|
|
|
|
>ST "D"
|
|
|
|
|
>ST "E"
|
|
|
|
|
>ST "H"
|
|
|
|
|
>ST "L"
|
|
|
|
|
>ST "BC"
|
|
|
|
|
>ST "DE"
|
|
|
|
|
>ST "SP"
|
|
|
|
|
>ST "I"
|
|
|
|
|
>ST "R"
|
|
|
|
|
>ST "AF"
|
2015-10-21 16:24:11 +00:00
|
|
|
|
.HS 00
|
|
|
|
|
*---------------------------------------
|
|
|
|
|
.INB BIN/ASM.T.Z80.O
|
|
|
|
|
*---------------------------------------
|
2015-03-14 21:47:37 +00:00
|
|
|
|
MAN
|
2017-03-29 15:48:15 +00:00
|
|
|
|
SAVE /A2OSX.SRC/BIN/ASM.T.Z80.S
|
2015-03-14 21:47:37 +00:00
|
|
|
|
ASM
|