fbzx-wii/src/z80free/Z80free_codesFDCB.txt
fabio.olimpieri de19c97eae First release
2012-04-07 10:33:47 +00:00

263 lines
5.7 KiB
Plaintext

# OPCODES, TSTATES and INSTRUCTIONS for FDCB prefixed instructions
# The TSTATES are 4 less than the real ones because they are counted
# when executing the FDCB prefix
#
# Instructions of the format LD r,XXX (IY+d) (like LD B,RLC (IY+d) )
# are modified to the format LD_XXX r,(IY+d) to simplify the parser
00 19 LD_RLC B,(IY+d)
01 19 LD_RLC C,(IY+d)
02 19 LD_RLC D,(IY+d)
03 19 LD_RLC E,(IY+d)
04 19 LD_RLC H,(IY+d)
05 19 LD_RLC L,(IY+d)
06 19 RLC b(IY+d)
07 19 LD_RLC A,(IY+d)
08 19 LD_RRC B,(IY+d)
09 19 LD_RRC C,(IY+d)
0A 19 LD_RRC D,(IY+d)
0B 19 LD_RRC E,(IY+d)
0C 19 LD_RRC H,(IY+d)
0D 19 LD_RRC L,(IY+d)
0E 19 RRC b(IY+d)
0F 19 LD_RRC A,(IY+d)
10 19 LD_RL B,(IY+d)
11 19 LD_RL C,(IY+d)
12 19 LD_RL D,(IY+d)
13 19 LD_RL E,(IY+d)
14 19 LD_RL H,(IY+d)
15 19 LD_RL L,(IY+d)
16 19 RL b(IY+d)
17 19 LD_RL A,(IY+d)
18 19 LD_RR B,(IY+d)
19 19 LD_RR C,(IY+d)
1A 19 LD_RR D,(IY+d)
1B 19 LD_RR E,(IY+d)
1C 19 LD_RR H,(IY+d)
1D 19 LD_RR L,(IY+d)
1E 19 RR b(IY+d)
1F 19 LD_RR A,(IY+d)
20 19 LD_SLA B,(IY+d)
21 19 LD_SLA C,(IY+d)
22 19 LD_SLA D,(IY+d)
23 19 LD_SLA E,(IY+d)
24 19 LD_SLA H,(IY+d)
25 19 LD_SLA L,(IY+d)
26 19 SLA b(IY+d)
27 19 LD_SLA A,(IY+d)
28 19 LD_SRA B,(IY+d)
29 19 LD_SRA C,(IY+d)
2A 19 LD_SRA D,(IY+d)
2B 19 LD_SRA E,(IY+d)
2C 19 LD_SRA H,(IY+d)
2D 19 LD_SRA L,(IY+d)
2E 19 SRA b(IY+d)
2F 19 LD_SRA A,(IY+d)
30 19 LD_SLL B,(IY+d)
31 19 LD_SLL C,(IY+d)
32 19 LD_SLL D,(IY+d)
33 19 LD_SLL E,(IY+d)
34 19 LD_SLL H,(IY+d)
35 19 LD_SLL L,(IY+d)
36 19 SLL b(IY+d)
37 19 LD_SLL A,(IY+d)
38 19 LD_SRL B,(IY+d)
39 19 LD_SRL C,(IY+d)
3A 19 LD_SRL D,(IY+d)
3B 19 LD_SRL E,(IY+d)
3C 19 LD_SRL H,(IY+d)
3D 19 LD_SRL L,(IY+d)
3E 19 SRL b(IY+d)
3F 19 LD_SRL A,(IY+d)
40 16 BIT 0,(IY+d)
41 16 BIT 0,(IY+d)
42 16 BIT 0,(IY+d)
43 16 BIT 0,(IY+d)
44 16 BIT 0,(IY+d)
45 16 BIT 0,(IY+d)
46 16 BIT 0,(IY+d)
47 16 BIT 0,(IY+d)
48 16 BIT 1,(IY+d)
49 16 BIT 1,(IY+d)
4A 16 BIT 1,(IY+d)
4B 16 BIT 1,(IY+d)
4C 16 BIT 1,(IY+d)
4D 16 BIT 1,(IY+d)
4E 16 BIT 1,(IY+d)
4F 16 BIT 1,(IY+d)
50 16 BIT 2,(IY+d)
51 16 BIT 2,(IY+d)
52 16 BIT 2,(IY+d)
53 16 BIT 2,(IY+d)
54 16 BIT 2,(IY+d)
55 16 BIT 2,(IY+d)
56 16 BIT 2,(IY+d)
57 16 BIT 2,(IY+d)
58 16 BIT 3,(IY+d)
59 16 BIT 3,(IY+d)
5A 16 BIT 3,(IY+d)
5B 16 BIT 3,(IY+d)
5C 16 BIT 3,(IY+d)
5D 16 BIT 3,(IY+d)
5E 16 BIT 3,(IY+d)
5F 16 BIT 3,(IY+d)
60 16 BIT 4,(IY+d)
61 16 BIT 4,(IY+d)
62 16 BIT 4,(IY+d)
63 16 BIT 4,(IY+d)
64 16 BIT 4,(IY+d)
65 16 BIT 4,(IY+d)
66 16 BIT 4,(IY+d)
67 16 BIT 4,(IY+d)
68 16 BIT 5,(IY+d)
69 16 BIT 5,(IY+d)
6A 16 BIT 5,(IY+d)
6B 16 BIT 5,(IY+d)
6C 16 BIT 5,(IY+d)
6D 16 BIT 5,(IY+d)
6E 16 BIT 5,(IY+d)
6F 16 BIT 5,(IY+d)
70 16 BIT 6,(IY+d)
71 16 BIT 6,(IY+d)
72 16 BIT 6,(IY+d)
73 16 BIT 6,(IY+d)
74 16 BIT 6,(IY+d)
75 16 BIT 6,(IY+d)
76 16 BIT 6,(IY+d)
77 16 BIT 6,(IY+d)
78 16 BIT 7,(IY+d)
79 16 BIT 7,(IY+d)
7A 16 BIT 7,(IY+d)
7B 16 BIT 7,(IY+d)
7C 16 BIT 7,(IY+d)
7D 16 BIT 7,(IY+d)
7E 16 BIT 7,(IY+d)
7F 16 BIT 7,(IY+d)
80 19 LD_RES B,0,(IY+d)
81 19 LD_RES C,0,(IY+d)
82 19 LD_RES D,0,(IY+d)
83 19 LD_RES E,0,(IY+d)
84 19 LD_RES H,0,(IY+d)
85 19 LD_RES L,0,(IY+d)
86 19 RES 0,(IY+d)
87 19 LD_RES A,0,(IY+d)
88 19 LD_RES B,1,(IY+d)
89 19 LD_RES C,1,(IY+d)
8A 19 LD_RES D,1,(IY+d)
8B 19 LD_RES E,1,(IY+d)
8C 19 LD_RES H,1,(IY+d)
8D 19 LD_RES L,1,(IY+d)
8E 19 RES 1,(IY+d)
8F 19 LD_RES A,1,(IY+d)
90 19 LD_RES B,2,(IY+d)
91 19 LD_RES C,2,(IY+d)
92 19 LD_RES D,2,(IY+d)
93 19 LD_RES E,2,(IY+d)
94 19 LD_RES H,2,(IY+d)
95 19 LD_RES L,2,(IY+d)
96 19 RES 2,(IY+d)
97 19 LD_RES A,2,(IY+d)
98 19 LD_RES B,3,(IY+d)
99 19 LD_RES C,3,(IY+d)
9A 19 LD_RES D,3,(IY+d)
9B 19 LD_RES E,3,(IY+d)
9C 19 LD_RES H,3,(IY+d)
9D 19 LD_RES L,3,(IY+d)
9E 19 RES 3,(IY+d)
9F 19 LD_RES A,3,(IY+d)
A0 19 LD_RES B,4,(IY+d)
A1 19 LD_RES C,4,(IY+d)
A2 19 LD_RES D,4,(IY+d)
A3 19 LD_RES E,4,(IY+d)
A4 19 LD_RES H,4,(IY+d)
A5 19 LD_RES L,4,(IY+d)
A6 19 RES 4,(IY+d)
A7 19 LD_RES A,4,(IY+d)
A8 19 LD_RES B,5,(IY+d)
A9 19 LD_RES C,5,(IY+d)
AA 19 LD_RES D,5,(IY+d)
AB 19 LD_RES E,5,(IY+d)
AC 19 LD_RES H,5,(IY+d)
AD 19 LD_RES L,5,(IY+d)
AE 19 RES 5,(IY+d)
AF 19 LD_RES A,5,(IY+d)
B0 19 LD_RES B,6,(IY+d)
B1 19 LD_RES C,6,(IY+d)
B2 19 LD_RES D,6,(IY+d)
B3 19 LD_RES E,6,(IY+d)
B4 19 LD_RES H,6,(IY+d)
B5 19 LD_RES L,6,(IY+d)
B6 19 RES 6,(IY+d)
B7 19 LD_RES A,6,(IY+d)
B8 19 LD_RES B,7,(IY+d)
B9 19 LD_RES C,7,(IY+d)
BA 19 LD_RES D,7,(IY+d)
BB 19 LD_RES E,7,(IY+d)
BC 19 LD_RES H,7,(IY+d)
BD 19 LD_RES L,7,(IY+d)
BE 19 RES 7,(IY+d)
BF 19 LD_RES A,7,(IY+d)
C0 19 LD_SET B,0,(IY+d)
C1 19 LD_SET C,0,(IY+d)
C2 19 LD_SET D,0,(IY+d)
C3 19 LD_SET E,0,(IY+d)
C4 19 LD_SET H,0,(IY+d)
C5 19 LD_SET L,0,(IY+d)
C6 19 SET 0,(IY+d)
C7 19 LD_SET A,0,(IY+d)
C8 19 LD_SET B,1,(IY+d)
C9 19 LD_SET C,1,(IY+d)
CA 19 LD_SET D,1,(IY+d)
CB 19 LD_SET E,1,(IY+d)
CC 19 LD_SET H,1,(IY+d)
CD 19 LD_SET L,1,(IY+d)
CE 19 SET 1,(IY+d)
CF 19 LD_SET A,1,(IY+d)
D0 19 LD_SET B,2,(IY+d)
D1 19 LD_SET C,2,(IY+d)
D2 19 LD_SET D,2,(IY+d)
D3 19 LD_SET E,2,(IY+d)
D4 19 LD_SET H,2,(IY+d)
D5 19 LD_SET L,2,(IY+d)
D6 19 SET 2,(IY+d)
D7 19 LD_SET A,2,(IY+d)
D8 19 LD_SET B,3,(IY+d)
D9 19 LD_SET C,3,(IY+d)
DA 19 LD_SET D,3,(IY+d)
DB 19 LD_SET E,3,(IY+d)
DC 19 LD_SET H,3,(IY+d)
DD 19 LD_SET L,3,(IY+d)
DE 19 SET 3,(IY+d)
DF 19 LD_SET A,3,(IY+d)
E0 19 LD_SET B,4,(IY+d)
E1 19 LD_SET C,4,(IY+d)
E2 19 LD_SET D,4,(IY+d)
E3 19 LD_SET E,4,(IY+d)
E4 19 LD_SET H,4,(IY+d)
E5 19 LD_SET L,4,(IY+d)
E6 19 SET 4,(IY+d)
E7 19 LD_SET A,4,(IY+d)
E8 19 LD_SET B,5,(IY+d)
E9 19 LD_SET C,5,(IY+d)
EA 19 LD_SET D,5,(IY+d)
EB 19 LD_SET E,5,(IY+d)
EC 19 LD_SET H,5,(IY+d)
ED 19 LD_SET L,5,(IY+d)
EE 19 SET 5,(IY+d)
EF 19 LD_SET A,5,(IY+d)
F0 19 LD_SET B,6,(IY+d)
F1 19 LD_SET C,6,(IY+d)
F2 19 LD_SET D,6,(IY+d)
F3 19 LD_SET E,6,(IY+d)
F4 19 LD_SET H,6,(IY+d)
F5 19 LD_SET L,6,(IY+d)
F6 19 SET 6,(IY+d)
F7 19 LD_SET A,6,(IY+d)
F8 19 LD_SET B,7,(IY+d)
F9 19 LD_SET C,7,(IY+d)
FA 19 LD_SET D,7,(IY+d)
FB 19 LD_SET E,7,(IY+d)
FC 19 LD_SET H,7,(IY+d)
FD 19 LD_SET L,7,(IY+d)
FE 19 SET 7,(IY+d)
FF 19 LD_SET A,7,(IY+d)