Retourner au sommaire

Timings et NOPs

Rédigé pour le Quasar Net1) par OffseT.

Attention, cette section est encore une ébauche.

La répartition des cycles Z80 sur CPC

Récapitulatif des timings en NOP

A

                  
ADC A,A1
ADC A,B1
ADC A,C1
ADC A,D1
ADC A,E1
ADC A,H1
ADC A,L1
ADC A,IXh2*
ADC A,IXl2*
ADC A,IYh2*
ADC A,IYl2*
ADC A,d2
ADC A,(HL)2
ADC A,(IX+d)5
ADC A,(IY+d)5
                  
ADC HL,BC4
ADC HL,DE4
ADC HL,HL4
ADC HL,SP4
                  
ADD A,A1
ADD A,B1
ADD A,C1
ADD A,D1
ADD A,E1
ADD A,H1
ADD A,IXh2*
ADD A,IXl2*
ADD A,IYh2*
ADD A,IYl2*
ADD A,L1
ADD A,d2
ADD A,(HL)2
ADD A,(IX+d)5
ADD A,(IY+d)5
                  
ADD HL,BC3
ADD HL,DE3
ADD HL,HL3
ADD HL,SP3
ADD IX,BC4
ADD IX,DE4
ADD IX,IX4
ADD IX,SP4
ADD IY,BC4
ADD IY,DE4
ADD IY,IY4
ADD IY,SP4
                  
AND A1
AND B1
AND C1
AND D1
AND E1
AND H1
AND L1
AND IXh2*
AND IXl2*
AND IYh2*
AND IYl2*
AND d2
AND (HL)2
AND (IX+d)5
AND (IY+d)5

A comme Ariane

B

                  
BIT n,A2
BIT n,B2
BIT n,C2
BIT n,D2
BIT n,E2
BIT n,H2
BIT n,L2
BIT n,(HL)3
BIT n,(IX+d)6
BIT n,(IY+d)6

C

                  
CALL dd5
CALL C,dd5/3
CALL NC,dd5/3
CALL Z,dd5/3
CALL NZ,dd5/3
CALL M,dd5/3
CALL P,dd5/3
CALL PE,dd5/3
CALL PO,dd5/3
                  
CCF 1
                  
CP A1
CP B1
CP C1
CP D1
CP E1
CP H1
CP L1
CP IXh2*
CP IXl2*
CP IYh2*
CP IYl2*
CP d2
CP (HL)2
CP (IX+d)5
CP (IY+d)5
                  
CPD 4
CPDR 6/4
CPI 4
CPIR 6/4
                  
CPL 1

D

                  
DAA 1
                  
DEC A1
DEC B1
DEC C1
DEC D1
DEC E1
DEC H1
DEC L1
DEC IXh2*
DEC IXl2*
DEC IYh2*
DEC IYl2*
                  
DEC BC2
DEC DE2
DEC HL2
DEC IX3
DEC IY3
DEC SP2
                  
DEC (HL)3
DEC (IX+d)6
DEC (IY+d)6
                  
DI 1
                  
DJNZ d4/3

E

                  
EI 1
                  
EX AF,AF'1
EX DE,HL1
                  
EX (SP),HL6
EX (SP),IX7
EX (SP),IY7
                  
EXX 1

H

                  
HALT 1

I

                  
IM 02
IM 12
IM 22
                  
IN A,(C)4
IN B,(C)4
IN C,(C)4
IN D,(C)4
IN E,(C)4
IN H,(C)4
IN L,(C)4
IN A,(d)3
                  
IND 5
INDR 5/4
INI 5
INIR 5/4
                  
INC A1
INC B1
INC C1
INC D1
INC E1
INC H1
INC L1
INC IXh2*
INC IXl2*
INC IYh2*
INC IYl2*
                  
INC BC2
INC DE2
INC HL2
INC IX3
INC IY3
INC SP2
                  
INC (HL)3
INC (IX+d)6
INC (IY+d)6

J

                  
JP dd3
JP C,dd3
JP NC,dd3
JP Z,dd3
JP NZ,dd3
JP M,dd3
JP P,dd3
JP PE,dd3
JP PO,dd3
JP (HL)1
JP (IX)2
JP (IY)2
                  
JR d3
JR C,d3/2
JR NC,d3/2
JR Z,d3/2
JR NZ,d3/2

 

 

 

J comme Julie

L

                  
LD A,A1
LD A,B1
LD A,C1
LD A,D1
LD A,E1
LD A,H1
LD A,L1
LD A,IXh2*
LD A,IXl2*
LD A,IYh2*
LD A,IYl2*
LD A,I3
LD A,R3
LD A,d2
LD A,(BC)2
LD A,(dd)4
LD A,(DE)2
LD A,(HL)2
LD A,(IX+d)5
LD A,(IY+d)5
LD A,RES n,(IX+d)?*
LD A,RES n,(IY+d)?*
LD A,RL(IX+d)?*
LD A,RL(IY+d)?*
LD A,RLC(IX+d)?*
LD A,RLC(IY+d)?*
LD A,RR(IX+d)?*
LD A,RR(IY+d)?*
LD A,RRC(IX+d)?*
LD A,RRC(IY+d)?*
LD A,SET n,(IX+d)?*
LD A,SET n,(IY+d)?*
LD A,SLA(IX+d)?*
LD A,SLA(IY+d)?*
LD A,SLL(IX+d)?*
LD A,SLL(IY+d)?*
LD A,SRA(IX+d)?*
LD A,SRA(IY+d)?*
LD A,SRL(IX+d)?*
LD A,SRL(IY+d)?*
                  
LD B,A1
LD B,B1
LD B,C1
LD B,D1
LD B,E1
LD B,H1
LD B,L1
LD B,IXh2*
LD B,IXl2*
LD B,IYh2*
LD B,IYl2*
LD B,d2
LD B,(HL)2
LD B,(IX+d)5
LD B,(IY+d)5
LD B,RES n,(IX+d)?*
LD B,RES n,(IY+d)?*
LD B,RL(IX+d)?*
LD B,RL(IY+d)?*
LD B,RLC(IX+d)?*
LD B,RLC(IY+d)?*
LD B,RR(IX+d)?*
LD B,RR(IY+d)?*
LD B,RRC(IX+d)?*
LD B,RRC(IY+d)?*
LD B,SET n,(IX+d)?*
LD B,SET n,(IY+d)?*
LD B,SLA(IX+d)?*
LD B,SLA(IY+d)?*
LD B,SLL(IX+d)?*
LD B,SLL(IY+d)?*
LD B,SRA(IX+d)?*
LD B,SRA(IY+d)?*
LD B,SRL(IX+d)?*
LD B,SRL(IY+d)?*
                  
LD C,A1
LD C,B1
LD C,C1
LD C,D1
LD C,E1
LD C,H1
LD C,L1
LD C,IXh2*
LD C,IXl2*
LD C,IYh2*
LD C,IYl2*
LD C,d2
LD C,(HL)2
LD C,(IX+d)5
LD C,(IY+d)5
LD C,RES n,(IX+d)?*
LD C,RES n,(IY+d)?*
LD C,RL(IX+d)?*
LD C,RL(IY+d)?*
LD C,RLC(IX+d)?*
LD C,RLC(IY+d)?*
LD C,RR(IX+d)?*
LD C,RR(IY+d)?*
LD C,RRC(IX+d)?*
LD C,RRC(IY+d)?*
LD C,SET n,(IX+d)?*
LD C,SET n,(IY+d)?*
LD C,SLA(IX+d)?*
LD C,SLA(IY+d)?*
LD C,SLL(IX+d)?*
LD C,SLL(IY+d)?*
LD C,SRA(IX+d)?*
LD C,SRA(IY+d)?*
LD C,SRL(IX+d)?*
LD C,SRL(IY+d)?*
                  
LD D,A1
LD D,B1
LD D,C1
LD D,D1
LD D,E1
LD D,H1
LD D,L1
LD D,IXh2*
LD D,IXl2*
LD D,IYh2*
LD D,IYl2*
LD D,d2
LD D,(HL)2
LD D,(IX+d)5
LD D,(IY+d)5
LD D,RES n,(IX+d)?*
LD D,RES n,(IY+d)?*
LD D,RL(IX+d)?*
LD D,RL(IY+d)?*
LD D,RLC(IX+d)?*
LD D,RLC(IY+d)?*
LD D,RR(IX+d)?*
LD D,RR(IY+d)?*
LD D,RRC(IX+d)?*
LD D,RRC(IY+d)?*
LD D,SET n,(IX+d)?*
LD D,SET n,(IY+d)?*
LD D,SLA(IX+d)?*
LD D,SLA(IY+d)?*
LD D,SLL(IX+d)?*
LD D,SLL(IY+d)?*
LD D,SRA(IX+d)?*
LD D,SRA(IY+d)?*
LD D,SRL(IX+d)?*
LD D,SRL(IY+d)?*
                  
LD E,A1
LD E,B1
LD E,C1
LD E,D1
LD E,E1
LD E,H1
LD E,L1
LD E,IXh2*
LD E,IXl2*
LD E,IYh2*
LD E,IYl2*
LD E,d2
LD E,(HL)2
LD E,(IX+d)5
LD E,(IY+d)5
LD E,RES n,(IX+d)?*
LD E,RES n,(IY+d)?*
LD E,RL(IX+d)?*
LD E,RL(IY+d)?*
LD E,RR(IX+d)?*
LD E,RR(IY+d)?*
LD E,RRC(IX+d)?*
LD E,RRC(IY+d)?*
LD E,SET n,(IX+d)?*
LD E,SET n,(IY+d)?*
LD E,SLA(IX+d)?*
LD E,SLA(IY+d)?*
LD E,SLL(IX+d)?*
LD E,SLL(IY+d)?*
LD E,SRA(IX+d)?*
LD E,SRA(IY+d)?*
LD E,SRL(IX+d)?*
LD E,SRL(IY+d)?*
                  
LD H,A1
LD H,B1
LD H,C1
LD H,D1
LD H,E1
LD H,H1
LD H,L1
LD H,d2
LD H,(HL)2
LD H,(IX+d)5
LD H,(IY+d)5
LD H,RES n,(IX+d)?*
LD H,RES n,(IY+d)?*
LD H,RL(IX+d)?*
LD H,RL(IY+d)?*
LD H,RLC(IX+d)?*
LD H,RLC(IY+d)?*
LD H,RR(IX+d)?*
LD H,RR(IY+d)?*
LD H,RRC(IX+d)?*
LD H,RRC(IY+d)?*
LD H,SET n,(IX+d)?*
LD H,SET n,(IY+d)?*
LD H,SLA(IX+d)?*
LD H,SLA(IY+d)?*
LD H,SLL(IX+d)?*
LD H,SLL(IY+d)?*
LD H,SRA(IX+d)?*
LD H,SRA(IY+d)?*
LD H,SRL(IX+d)?*
LD H,SRL(IY+d)?*
                  
LD L,A1
LD L,B1
LD L,C1
LD L,D1
LD L,E1
LD L,H1
LD L,L1
LD L,d2
LD L,(HL)2
LD L,(IX+d)5
LD L,(IY+d)5
LD L,RES n,(IX+d)?*
LD L,RES n,(IY+d)?*
LD L,RL(IX+d)?*
LD L,RL(IY+d)?*
LD L,RLC(IX+d)?*
LD L,RLC(IY+d)?*
LD L,RR(IX+d)?*
LD L,RR(IY+d)?*
LD L,RR(IX+d)?*
LD L,RR(IY+d)?*
LD L,SET n,(IX+d)?*
LD L,SET n,(IY+d)?*
LD L,SLA(IX+d)?*
LD L,SLA(IY+d)?*
LD L,SLL(IX+d)?*
LD L,SLL(IY+d)?*
LD L,SRA(IX+d)?*
LD L,SRA(IY+d)?*
LD L,SRL(IX+d)?*
LD L,SRL(IY+d)?*
                  
LD IXh,A2*
LD IXh,B2*
LD IXh,C2*
LD IXh,D2*
LD IXh,E2*
LD IXh,IXh2*
LD IXh,IXl2*
LD IXl,A2
LD IXl,B2*
LD IXl,C2*
LD IXl,D2*
LD IXl,E2*
LD IXl,IXh2*
LD IXl,IXl2*
LD IYh,A2*
LD IYh,B2*
LD IYh,C2*
LD IYh,D2*
LD IYh,E2*
LD IYh,IXh2*
LD IYh,IXl2*
LD IYl,A2
LD IYl,B2*
LD IYl,C2*
LD IYl,D2*
LD IYl,E2*
LD IYl,IYh2*
LD IYl,IYl2*
LD IXh,d3*
LD IYh,d3*
LD IXl,d3*
LD IYl,d3*
                  
LD I,A3
LD R,A3
LD SP,HL2
LD SP,IX3
LD SP,IY3
                  
LD BC,dd3
LD DE,dd3
LD HL,dd3
LD IX,dd4
LD IY,dd4
LD SP,dd3
                  
LD BC,(dd)6
LD DE,(dd)6
LD HL,(dd)5
LD IX,(dd)6
LD IY,(dd)6
LD SP,(dd)6
                  
LD (BC),A2
LD (DE),A2
LD (HL),A2
LD (HL),B2
LD (HL),C2
LD (HL),D2
LD (HL),E2
LD (HL),H2
LD (HL),L2
LD (HL),d3
                  
LD (IX+d),A5
LD (IX+d),B5
LD (IX+d),C5
LD (IX+d),D5
LD (IX+d),E5
LD (IX+d),H5
LD (IX+d),L5
LD (IX+d),d6
                  
LD (IY+d),A5
LD (IY+d),B5
LD (IY+d),C5
LD (IY+d),D5
LD (IY+d),E5
LD (IY+d),H5
LD (IY+d),L5
LD (IY+d),d6
                  
LD (dd),A4
LD (dd),BC6
LD (dd),DE6
LD (dd),HL5
LD (dd),IX6
LD (dd),IY6
LD (dd),SP6
                  
LDD 5
LDDR 6/5
LDI 5
LDIR 6/5

N

                  
NEG 2
NOP 1

O

                  
OR A1
OR B1
OR C1
OR D1
OR E1
OR H1
OR L1
OR IXh2*
OR IXl2*
OR IYh2*
OR IYl2*
OR d2
OR (HL)2
OR (IX+d)5
OR (IY+d)5
                  
OUT (C),A4
OUT (C),B4
OUT (C),C4
OUT (C),D4
OUT (C),E4
OUT (C),H4
OUT (C),L4
OUT (C),04*
OUT (d),A3
                  
OTDR 5/4
OTIR 5/4
OUTD 5
OUTI 5

P

                  
POP AF3
POP BC3
POP DE3
POP HL3
POP IX4
POP IY4
                  
PUSH AF4
PUSH BC4
PUSH DE4
PUSH HL4
PUSH IX5
PUSH IY5

R

                  
RES n,A2
RES n,B2
RES n,C2
RES n,D2
RES n,E2
RES n,H2
RES n,L2
RES n,(HL)3
RES n,(IX+d)7
RES n,(IY+d)7
                  
RET 3
RET C4/2
RET NC4/2
RET Z4/2
RET NZ4/2
RET P4/2
RET M4/2
RET PE4/2
RET PO4/2
                  
RETI 4
RETN 4
                  
RLA 1
RL A2
RL B2
RL C2
RL D2
RL E2
RL H2
RL L2
RL (HL)4
RL (IX+d)7
RL (IY+d)7
                  
RLCA 1
RLC A2
RLC B2
RLC C2
RLC D2
RLC E2
RLC H2
RLC L2
RLC (HL)4
RLC (IX+d)7
RLC (IY+d)7
                  
RLD 5
                  
RRA 1
RR A2
RR B2
RR C2
RR D2
RR E2
RR H2
RR L2
RR (HL)4
RR (IX+d)7
RR (IY+d)7
                  
RRCA 1
RRC A2
RRC B2
RRC C2
RRC D2
RRC E2
RRC H2
RRC L2
RRC (HL)4
RRC (IX+d)7
RRC (IY+d)7
                  
RRD 5
                  
RST &004
RST &084
RST &104
RST &184
RST &204
RST &284
RST &304
RST &384

S

                  
SBC A,A1
SBC A,B1
SBC A,C1
SBC A,D1
SBC A,E1
SBC A,H1
SBC A,L1
SBC A,IXh2*
SBC A,IXl2*
SBC A,IYh2*
SBC A,IYl2*
SBC A,d2
SBC A,(HL)2
SBC A,(IX+d)5
SBC A,(IY+d)5
                  
SBC HL,BC4
SBC HL,DE4
SBC HL,HL4
SBC HL,SP4
                  
SCF 1
                  
SET n,A2
SET n,B2
SET n,C2
SET n,D2
SET n,E2
SET n,H2
SET n,L2
SET n,(HL)3
SET n,(IX+d)7
SET n,(IY+d)7
                  
SLA A2
SLA B2
SLA C2
SLA D2
SLA E2
SLA H2
SLA L2
SLA (HL)4
SLA (IX+d)7
SLA (IY+d)7
                  
SLL A?
SLL B?
SLL C?
SLL D?
SLL E?
SLL H?
SLL L?
SLL (HL)?
SLL (IX+d)7
SLL (IY+d)7
                  
SRA A2
SRA B2
SRA C2
SRA D2
SRA E2
SRA H2
SRA L2
SRA (HL)4
SRA (IX+d)7
SRA (IY+d)7
                  
SRL A2
SRL B2
SRL C2
SRL D2
SRL E2
SRL H2
SRL L2
SRL (HL)4
SRL (IX+d)7
SRL (IY+d)7
                  
SUB A1
SUB B1
SUB C1
SUB D1
SUB E1
SUB H1
SUB L1
SUB IXh2*
SUB IXl2*
SUB IYh2*
SUB IYl2*
SUB d2
SUB (HL)2
SUB (IX+d)5
SUB (IY+d)5

X

                  
XOR A1
XOR B1
XOR C1
XOR D1
XOR E1
XOR H1
XOR L1
XOR IXh2*
XOR IXl2*
XOR IYh2*
XOR IYl2*
XOR d2
XOR (HL)2
XOR (IX+d)5
XOR (IY+d)5

X comme eXtraordinaire

Documentations externes

1) basé sur les documentations de Longshot publiées dans Pot de Call 4 et 5 (le fameux discmag des années 90) et enrichies par nos soins
 
iassem/timings.txt · Dernière modification: 2022/10/06 19:21 par zik