ПРИЛОЖЕНИЕ 1
Пример записи мнемоник
ассемблера в форме, приемлемой для "EDITAS"
ADC (HL) ADC В ADC H ADC HL.DE ADC (IX+5) ADC С
ADC L ADC HL,HL ADC (IY+5) ADC D ADC 20H ADC HL.SP ADC A
ADC E ADC HL.BC ADD (HL) ADD D ADD HL.DE ADD IX,SP ADD (IX+5)
ADD E ADD HL.HL ADD IY.BC ADD (IY+5) ADD H ADD HL,SP ADD IY.DE ADD A ADD
L ADD IX,ВС ADD IY,IY ADD В ADD
32 ADD IX.DE ADD IY,SP ADD С
ADD HL.BC ADD IX.IX AND (HL) AND A AND D AND L AND (IX+5)
AND В AND E AND
32 AND (IY+5)
AND С AND H BIT 0,(HL) BIT 1,(HL) ...
BIT 7,(HL) BIT 0,(IX+5)BIT 1,(IX+5)... BIT 7,(IX+5) BIT
0,(IY+5)BIT 1,(IY+5)... BIT
7,(IY+5) BIT ОД
BIT 1.A ... BIT 7.A BIT O.B BIT 1,B ...
BIT 7,B BIT 0,C BIT l.C ... BIT 7,C BIT 0,D BIT 1,D ...
BIT 7,D BIT 0,E BIT 1,E ... BIT 7,E BIT O.H BIT 1,H ...
BIT 7,H BIT 0,L BIT 1,L ... BIT 7,L CALL C.1234H CALL NZ.1234H
CALL PE.1234H CALL
Z,1234H
CALL M.1234H CALL
P.1234H CALL P0.1234H CALL 122 CALL NC.1234H CCF
CP (HL) CP
A CP D CP L CP (IX+5) CP В CP E CP 32 CP (IY+5) CP С CP H CPD CPDR
CPI CPIK CPL DAA
DEC (HL) DEC В
DEC DE DEC IX DEC
(IX+5) DEC ВС
DEC E DEC IY DEC (IY+5) DEC С DEC H DEC L DEC A DEC
D DEC HL DEC SP DI
DJNZ El
EX (SP),HL EX (SP),IY EX DE.HL EXX EX
(SP).IX EX AFA'F'
IMO
IM1 IM2 IN A,(C) IN C,(C) IN E,(C) IN L.(C) IN B,(C)
IN D,(C) IN H,(C) IN A,(32) INC (HL) INC В INC DE INC IX INC
(IX+5) INC ВС INC E INC IY INC (IY+5) INC С
INC H INC L INC A INC D INC HL INC SP '•
IND INDR INC INIR
JP 1234H JP
(IY) JP NC,1234H JP PE,1234H
JP (HL) JP С,1234Н
JP NZ.1234HJP P0.1234H
JP (IX) JP M,1234H JP P,1234H JP Z,1234H
JR C,2EH JR
NZ.2EH JR Z,2EH JR 2EH JR NC,2EH
LD (BC),A LD А,(ВС)
LD C,B LD H,(IY+5)
LD (DE),A LD
A,(DE) LD C,C LD Н,A
LD (HL),A LD
A,(HL) LD C,D LD H,B
LD (HL),B LD
A,(IX+5) LD C,E LD H.C
LD (HL),C LD
A,(IY+5) LD C,H LD H,D
LD (HL),D LD
A,(1234H) LD C.L LD H,E
LD (HL),E LD
A,A LD C,32 LD H,H
LD (HL),H LD
A,B LD D,(HL) LD H,L
LD (HL),L LD А,С
LD D,(IX+5)LD H,32
LD (HL),32 LD
A,D LD D,(IY+5) LD HL,(1234H)
LD (IX+5),ALD A,E
LD D,A LD HL,1234H
LD (IX+5),BLD
A,H LD D,B LD I.A
LD (IX+5),CLD
A,I LD D.C LD IX,(1234H)
LD (IX+5),DLD
A.L LD D,D LD IX.1234H
LD (IX+5),ELD
A,32 LD D,E LD IY,(i234H)
LD (IX+5),HLD
A,R LD D,H LD IY,1234H
LD (IX+5),LLD
B,(HL) LD D,L LD L,(HL)
LD (IX+5),32LD
B,(IX+5)LD D,32 LD L,(IX+5)
LD (IY+5),ALD
B,(IY+5) LD DE,(1234H) LD L,(IY+5)
LD
(IY+5),BLD,B,A LD DE.1234H LD L,A
LD (IY+5),CLD
B,B LD E,(HL) LD L,B
LD (IY+5),DLD
B,C LD E,(IX+5) LD L,C
LD (IY+5),ELD
B,D LD E,(IY+5) LD L,D
LD (IY+5),HLD
B,E LD ЕД LD L,E
LD (IY+5),LLD
B,H LD E,B LD L,H
LD (IY+5),32 LD B,L LD E,C LD L,L
LD (1234H
),A LD B.32 LD E,D LD L,32
LD (1234H),BC LD
BC,(1234H) LD E.E LD R,A
LD (1234H),DE LD ВС,1234H
LD E,H LD SP,(1234H)
LD (1234H),HL LD
C,(HL) LD E,L LD SP.HL
LD (1234H),IX LD
C,(IX+5) LD E,32 LD SP.IX
LD (1234H),IY LD
C,(IY+5) LD H,(HL)LD SP,IY
LD (1234H),SP LD
C,A LD H,(IX+5) LD SP, 1234H
LD LDDR
LDI LDIR
NEG
NOP
OR (HL) OR
A OR D OR L
OR (IX+5)
OR В OR E OR
32
OR (IY+5)
OR С OR H OUT (C),A OUT (C),C OUT (C),E OUT (C),L
OUT (C),B OUT (C),D OUT (C),H OUT (32),A OUTD OTDR
OUTI OTIR POP AF POP DE POP
IX POP IY POP ВС
POP HL
PUCH AF PUCH
DE PUCH IX PUCH IY PUCH BCn PICH HL
RES 0,(HL) RES
1,(HL) ... RES 7,(HL) RES 0,(IX+5) RES 1,(IX+5) ...
RES 7,(IX+5) RES 0,(IY+5) RES 1,(IY+5) ... RES 7, (IY+5) RES 0,A RES 1.A ... RES 7.A RES 0,B RES 1,B ...
RES 7,B RES O.C RES l.C ... RES 7,C RES 0,D RES 1,D ...
RES 7,D RES 0,E RES 1,E ... RES 7,E RES 0,H RES 1,H .;.
RES 7,H RES 0,L RES 1,L ... RES 7,L RET RET NC RET
P RET PO RET С RET NZ RET PE RET Z RET M
RET RET RET RETI RETN
RL (HL) RL
A RL D RL H RL (IX+5) RL В RL E RL L RL (IY+5)
RL С RLA
RLC (HL) RLC
A RLC D RLC H RLC (IX+5) RLC В RLC E RLC L RLC (IY+5)
RLC С RLCA RLD
RR (HL) RR
A RR D RR H RR (IX+5) RR В RR E RR L RR (IY+5)
RR С RRA
RRC (HL) RRC
A RRC D RRC H RRC (IX+5) RRC В RRC E RRC L RRC (IY+5)
RRC С RRCA RRD
RST 0
RST 10H RST 20H RST ЗОН RST 8H RST 18H RST 28H RST 38H SBC 32
SBC A SBC E SBC HL.DE SBC (HL) SBC В SBC H SBC
HL,HL SBC (IX+5) SBC С SBC L SBC HL.SP SBC (IY+5)
SBC D SBC HL.BC
SCF
SET 0,(HL)
SET 1,(HL) ... SET 7,(HL)
SET 0,(IX+5)
SET 1,(IX+5)... SET
7,(IX+5)
SET 0,(IY+5)SET
l.(IY+5)... SET 7,(IY+5)
SET O.A SET 1,A ... SET
7,A
SET 0,B SET l.B ... SET
7,B
SET 0,C SET 1,C ... SET
7,C
SET 0,D SET 1,D ... SET
7,D
. SET 0,E SET 1,E
... SET 7,E
SET 0,H SET 1,H ... SET
7,H
SET O.L SET 1,L ... SET
7,L
SLA (HL) SLA A SLA
D SLA H
SLA (IX+5) SLA В SLA
E SLA L SLA (IY+5) SLA С
SRA (HL) SRA A SRA
D SRA H
SRA (IX+5)
SRA В SRA E SRA L SRA
(IY+5) SRA С
SRL (HL) SRL A SRL
D SRL H
SRL (IX+5)
SRL В SRL E SRL L SRL
(IY+5) SRL С
SUB (HL) SUB A SUB
D SUB L
SUB (IX+5)
SUB В SUB E SUB 32
SUB (IY+5)
SUB С SUB H
XOR (HL) XOR A XOR
D.XOR L
XOR (IX+5)
XOR В XOR E XOR 32
XOR (IY+5)
XOR С XOR H
СПИСОК КОМАНД,
HE ОПУБЛИКОВАННЫХ ФИРМОЙ "ZILOG", НО РАСПОЗНАВАЕМЫХ ПРОЦЕССОРОМ Z80 И ПРОГРАММОЙ EDITAS __________________________________
SLL (HL) SLL
A SLL D SLL Н SLL
(IX+5) SLL В SLL E
SLL L SLL (IY+5) SLL С
INC XH INC XL
INC YH INC YL DEC XH DEC XL DEC YH DEC YL LD A,XH LD D.XH LD
XH,E LD YH.E LD A,XL LD D,XL LD XH.XL LD YH.YL LD A.YH LD D,YH LD
XL.A LD YL,A LD A,YL LD D,YL LD XL,В LD YL,B LD B.XH LD E,XH LD XL,С LD
YL.C LD B.XL LD E,XL LD XL.D LD YL,D LD B,YH LD E,YH LD XL,E LD
YL,E LD B,YL LD E,YL LD XL,XH LD YL,YH
LD C.XH LD XH.A LD XH, A LD
XH.32
LD C.XL LD XH,B LD XH, В LD XL,32
LD C.YH LD XH,C LD XH, С LD YH,32
LD C,YL LD XH,D LD XH, D LD
YL,32
ADD XH ADD XL ADD YH ADD YL
ADC XH ADC XL ADC YH ADC YL
SUB XH SUB XL SUB YH SUB YL
SBC XH ° SBC XL SBC YH SBC YL
AND XH AND XL AND YH AND YL
XOR XH XOR XL XOR YH XOR YL
OR XH OR XL OR YH OR YL
CP XH CP XL CP YH CP YL