ASMtrad CPC

Apprenez l'assembleur Z80

Table des instruction Z80, opcodes et timings

ADC
InstructionOpcode(s)Durée (NOPs)
ADC A,H#8C1
ADC A,L#8D1
ADC A,D#8A1
ADC A,E#8B1
ADC A,B#881
ADC A,C#891
ADC A,(HL)#8E2
ADC A,(IX+disp)#DD,#8E,disp5
ADC A,(IY+disp)#FD,#8E,disp5
ADC A,data8#CE,data82
ADC HL,HL#ED,#6A4
ADC HL,DE#ED,#5A4
ADC HL,BC#ED,#4A4
ADD
InstructionOpcode(s)Durée (NOPs)
ADD A,(HL)#862
ADD A,(IX+disp)#DD,#86,disp5
ADD A,(IY+disp)#FD,#86,disp5
ADD A,data8#C6,data82
ADD A,A#871
ADD A,B#801
ADD A,C#811
ADD A,D#821
ADD A,E#831
ADD A,H#841
ADD A,L#851
ADD HL,BC#093
ADD HL,DE#193
ADD HL,HL#293
ADD HL,SP#393
ADD IX,BC#DD,#094
ADD IX,DE#DD,#194
ADD IX,IX#DD,#294
ADD IX,SP#DD,#394
ADD IY,BC#FD,#094
ADD IY,DE#FD,#194
ADD IY,IY#FD,#294
ADD IY,SP#FD,#394
AND
InstructionOpcode(s)Durée (NOPs)
AND data8#E6,data82
AND B#A01
AND C#A11
AND D#A21
AND E#A31
AND H#A41
AND L#A51
AND (HL)#A62
AND A#A71
AND (IX+disp)#DD,#A6,disp5
AND (IY+disp)#FD,#A6,disp5
BIT b,
InstructionOpcode(s)Durée (NOPs)
BIT 0,(HL)#CB,#463
BIT 1,(HL)#CB,#4E3
BIT 2,(HL)#CB,#563
BIT 3,(HL)#CB,#5E3
BIT 4,(HL)#CB,#663
BIT 5,(HL)#CB,#6E3
BIT 6,(HL)#CB,#763
BIT 7,(HL)#CB,#7E3
BIT 0,A#CB,#472
BIT 1,A#CB,#4F2
BIT 2,A#CB,#572
BIT 3,A#CB,#5F2
BIT 4,A#CB,#672
BIT 5,A#CB,#6F2
BIT 6,A#CB,#772
BIT 7,A#CB,#7F2
BIT 0,H#CB,#442
BIT 1,H#CB,#4C2
BIT 2,H#CB,#542
BIT 3,H#CB,#5C2
BIT 4,H#CB,#642
BIT 5,H#CB,#6C2
BIT 6,H#CB,#742
BIT 7,H#CB,#7C2
BIT 0,L#CB,#452
BIT 1,L#CB,#4D2
BIT 2,L#CB,#552
BIT 3,L#CB,#5D2
BIT 4,L#CB,#652
BIT 5,L#CB,#6D2
BIT 6,L#CB,#752
BIT 7,L#CB,#7D2
BIT 0,D#CB,#422
BIT 1,D#CB,#4A2
BIT 2,D#CB,#522
BIT 3,D#CB,#5A2
BIT 4,D#CB,#622
BIT 5,D#CB,#6A2
BIT 6,D#CB,#722
BIT 7,D#CB,#7A2
BIT 0,E#CB,#432
BIT 1,E#CB,#4B2
BIT 2,E#CB,#532
BIT 3,E#CB,#5B2
BIT 4,E#CB,#632
BIT 5,E#CB,#6B2
BIT 6,E#CB,#732
BIT 7,E#CB,#7B2
BIT 0,B#CB,#402
BIT 1,B#CB,#482
BIT 2,B#CB,#502
BIT 3,B#CB,#582
BIT 4,B#CB,#602
BIT 5,B#CB,#682
BIT 6,B#CB,#702
BIT 7,B#CB,#782
BIT 0,C#CB,#412
BIT 1,C#CB,#492
BIT 2,C#CB,#512
BIT 3,C#CB,#592
BIT 4,C#CB,#612
BIT 5,C#CB,#692
BIT 6,C#CB,#712
BIT 7,C#CB,#792
BIT 0,(IX+disp)#DD,#CB,disp,#466
BIT 1,(IX+disp)#DD,#CB,disp,#4E6
BIT 2,(IX+disp)#DD,#CB,disp,#566
BIT 3,(IX+disp)#DD,#CB,disp,#5E6
BIT 4,(IX+disp)#DD,#CB,disp,#666
BIT 5,(IX+disp)#DD,#CB,disp,#6E6
BIT 6,(IX+disp)#DD,#CB,disp,#766
BIT 7,(IX+disp)#DD,#CB,disp,#7E6
BIT 0,(IY+disp)#FD,#CB,disp,#466
BIT 1,(IY+disp)#FD,#CB,disp,#4E6
BIT 2,(IY+disp)#FD,#CB,disp,#566
BIT 3,(IY+disp)#FD,#CB,disp,#5E6
BIT 4,(IY+disp)#FD,#CB,disp,#666
BIT 5,(IY+disp)#FD,#CB,disp,#6E6
BIT 6,(IY+disp)#FD,#CB,disp,#766
BIT 7,(IY+disp)#FD,#CB,disp,#7E6
CALL
InstructionOpcode(s)Durée (NOPs)
CALL adr#CD,ll,hh5
CALL C,adr#DC,ll,hhnc=3 ; c=5
CALL NC,adr#D4,ll,hhnc=3 ; c=5
CALL Z,adr#CC,ll,hhnc=3 ; c=5
CALL NZ,adr#C4,ll,hhnc=3 ; c=5
CALL M,adr#FC,ll,hhnc=3 ; c=5
CALL P,adr#F4,ll,hhnc=3 ; c=5
CALL PE,adr#EC,ll,hhnc=3 ; c=5
CALL PO,adr#E4,ll,hhnc=3 ; c=5
CCF
InstructionOpcode(s)Durée (NOPs)
CCF#3F1
CP
InstructionOpcode(s)Durée (NOPs)
CP data8#FE,data82
CP A#BF1
CP H#BC1
CP L#BD1
CP D#BA1
CP E#BA1
CP B#B81
CP C#B91
CP (HL)#BE2
CP (IX+disp)#DD,#BE,disp5
CP (IY+disp)#FD,#BE,disp5
CPD#ED,#A94
CPDR#ED,#B9BC-1=0 : 5, BC-1<>0 : 6
CPI#ED,#A14
CPIR#ED,#B1BC-1=0 : 5, BC-1<>0 : 6
InstructionOpcode(s)Durée (NOPs)
CPL#2F1
InstructionOpcode(s)Durée (NOPs)
DAA#271
DEC
InstructionOpcode(s)Durée (NOPs)
DEC A#3D1
DEC HL#2B2
DEC H#251
DEC L#2D1
DEC DE#1B2
DEC D#151
DEC E#1D1
DEC BC#0B2
DEC B#051
DEC C#0D1
DEC IX#DD,#2B3
DEC IY#FD,#2B3
DEC SP#3B2
DEC (HL)#353
DEC (IX+disp)#DD,#35,disp6
DEC (IY+disp)#FD,#35,disp6
InstructionOpcode(s)Durée (NOPs)
DI#F31
InstructionOpcode(s)Durée (NOPs)
DJNZ adr#10,dispb-1=0 : 3, b-1<>0 : 4
InstructionOpcode(s)Durée (NOPs)
EI#FB1
EX
InstructionOpcode(s)Durée (NOPs)
EX DE,HL#EB1
EX AF,AF'#081
EXX#D91
EX (SP),HL#E36
EX (SP),IX#DD,#E37
EX (SP),IY#FD,#E37
InstructionOpcode(s)Durée (NOPs)
HALT#76/
IM
InstructionOpcode(s)Durée (NOPs)
IM 0#ED,#462
IM 1#ED,#562
IM 2#ED,#5E2
IN
InstructionOpcode(s)Durée (NOPs)
IN A,(port)#DB,data81
IN A,(C)#ED,#784
IN B,(C)#ED,#402
IN C,(C)#ED,#482
IN D,(C)#ED,#502
IN E,(C)#ED,#582
IN H,(C)#ED,#602
IN L,(C)#ED,#682
INC
InstructionOpcode(s)Durée (NOPs)
INC (HL)#343
INC A#3C1
INC HL#232
INC H#241
INC L#2C1
INC DE#132
INC D#141
INC E#1C1
INC BC#032
INC B#041
INC C#0C1
INC IX#DD,#233
INC IY#FD,#233
INC SP#332
INC (IX+disp)#DD,#34,disp6
INC (IY+disp)#FD,#34,disp6
IND INI
InstructionOpcode(s)Durée (NOPs)
IND#ED,#AA5
INDR#ED,#8ABC-1=0 : 5 , BC-1<>0 : 6
INI#ED,#A25
INIR#ED,#B2BC-1=0 : 5 , BC-1<>0 : 6
JP
InstructionOpcode(s)Durée (NOPs)
JP adr#C3,ll,hh3
JP C,adr#DA,ll,hh3
JP NC,adr#D2,ll,hh3
JP Z,adr#CA,ll,hh3
JP NZ,adr#C2,ll,hh3
JP P,adr#F2,ll,hh3
JP PE,adr#EA,ll,hh3
JP PO,adr#E2,ll,hh3
JP H,adr#FA,ll,hh3
JP (HL)#E91
JP IX#DD,#E92
JP IY#FD,#E92
JR
InstructionOpcode(s)Durée (NOPs)
JR adr#18,disp3
JR C,adr#38,dispNC : 2 , C : 3
JR NC,adr#30,dispC : 2 , NC : 3
JR Z,adr#28,dispNZ : 2 , Z : 3
JR NZ,adr#20,dispZ : 2 , NZ : 3
X

CONNEXION




Inscription