2 * Copyright (C) 1996-1998 Szeredi Miklos
3 * Email: mszeredi@inf.bme.hu
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version. See the file COPYING.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21 extern z80t
z80op_rlc_b(z80t
);
22 extern z80t
z80op_rlc_c(z80t
);
23 extern z80t
z80op_rlc_d(z80t
);
24 extern z80t
z80op_rlc_e(z80t
);
25 extern z80t
z80op_rlc_h(z80t
);
26 extern z80t
z80op_rlc_l(z80t
);
27 extern z80t
z80op_rlc_ihl(z80t
);
28 extern z80t
z80op_rlc_a(z80t
);
29 extern z80t
z80op_rrc_b(z80t
);
30 extern z80t
z80op_rrc_c(z80t
);
31 extern z80t
z80op_rrc_d(z80t
);
32 extern z80t
z80op_rrc_e(z80t
);
33 extern z80t
z80op_rrc_h(z80t
);
34 extern z80t
z80op_rrc_l(z80t
);
35 extern z80t
z80op_rrc_ihl(z80t
);
36 extern z80t
z80op_rrc_a(z80t
);
38 extern z80t
z80op_rl_b(z80t
);
39 extern z80t
z80op_rl_c(z80t
);
40 extern z80t
z80op_rl_d(z80t
);
41 extern z80t
z80op_rl_e(z80t
);
42 extern z80t
z80op_rl_h(z80t
);
43 extern z80t
z80op_rl_l(z80t
);
44 extern z80t
z80op_rl_ihl(z80t
);
45 extern z80t
z80op_rl_a(z80t
);
46 extern z80t
z80op_rr_b(z80t
);
47 extern z80t
z80op_rr_c(z80t
);
48 extern z80t
z80op_rr_d(z80t
);
49 extern z80t
z80op_rr_e(z80t
);
50 extern z80t
z80op_rr_h(z80t
);
51 extern z80t
z80op_rr_l(z80t
);
52 extern z80t
z80op_rr_ihl(z80t
);
53 extern z80t
z80op_rr_a(z80t
);
55 extern z80t
z80op_sla_b(z80t
);
56 extern z80t
z80op_sla_c(z80t
);
57 extern z80t
z80op_sla_d(z80t
);
58 extern z80t
z80op_sla_e(z80t
);
59 extern z80t
z80op_sla_h(z80t
);
60 extern z80t
z80op_sla_l(z80t
);
61 extern z80t
z80op_sla_ihl(z80t
);
62 extern z80t
z80op_sla_a(z80t
);
63 extern z80t
z80op_sra_b(z80t
);
64 extern z80t
z80op_sra_c(z80t
);
65 extern z80t
z80op_sra_d(z80t
);
66 extern z80t
z80op_sra_e(z80t
);
67 extern z80t
z80op_sra_h(z80t
);
68 extern z80t
z80op_sra_l(z80t
);
69 extern z80t
z80op_sra_ihl(z80t
);
70 extern z80t
z80op_sra_a(z80t
);
72 extern z80t
z80op_sll_b(z80t
);
73 extern z80t
z80op_sll_c(z80t
);
74 extern z80t
z80op_sll_d(z80t
);
75 extern z80t
z80op_sll_e(z80t
);
76 extern z80t
z80op_sll_h(z80t
);
77 extern z80t
z80op_sll_l(z80t
);
78 extern z80t
z80op_sll_ihl(z80t
);
79 extern z80t
z80op_sll_a(z80t
);
80 extern z80t
z80op_srl_b(z80t
);
81 extern z80t
z80op_srl_c(z80t
);
82 extern z80t
z80op_srl_d(z80t
);
83 extern z80t
z80op_srl_e(z80t
);
84 extern z80t
z80op_srl_h(z80t
);
85 extern z80t
z80op_srl_l(z80t
);
86 extern z80t
z80op_srl_ihl(z80t
);
87 extern z80t
z80op_srl_a(z80t
);
89 extern z80t
z80op_bit_0_b(z80t
);
90 extern z80t
z80op_bit_0_c(z80t
);
91 extern z80t
z80op_bit_0_d(z80t
);
92 extern z80t
z80op_bit_0_e(z80t
);
93 extern z80t
z80op_bit_0_h(z80t
);
94 extern z80t
z80op_bit_0_l(z80t
);
95 extern z80t
z80op_bit_0_ihl(z80t
);
96 extern z80t
z80op_bit_0_a(z80t
);
97 extern z80t
z80op_bit_1_b(z80t
);
98 extern z80t
z80op_bit_1_c(z80t
);
99 extern z80t
z80op_bit_1_d(z80t
);
100 extern z80t
z80op_bit_1_e(z80t
);
101 extern z80t
z80op_bit_1_h(z80t
);
102 extern z80t
z80op_bit_1_l(z80t
);
103 extern z80t
z80op_bit_1_ihl(z80t
);
104 extern z80t
z80op_bit_1_a(z80t
);
106 extern z80t
z80op_bit_2_b(z80t
);
107 extern z80t
z80op_bit_2_c(z80t
);
108 extern z80t
z80op_bit_2_d(z80t
);
109 extern z80t
z80op_bit_2_e(z80t
);
110 extern z80t
z80op_bit_2_h(z80t
);
111 extern z80t
z80op_bit_2_l(z80t
);
112 extern z80t
z80op_bit_2_ihl(z80t
);
113 extern z80t
z80op_bit_2_a(z80t
);
114 extern z80t
z80op_bit_3_b(z80t
);
115 extern z80t
z80op_bit_3_c(z80t
);
116 extern z80t
z80op_bit_3_d(z80t
);
117 extern z80t
z80op_bit_3_e(z80t
);
118 extern z80t
z80op_bit_3_h(z80t
);
119 extern z80t
z80op_bit_3_l(z80t
);
120 extern z80t
z80op_bit_3_ihl(z80t
);
121 extern z80t
z80op_bit_3_a(z80t
);
123 extern z80t
z80op_bit_4_b(z80t
);
124 extern z80t
z80op_bit_4_c(z80t
);
125 extern z80t
z80op_bit_4_d(z80t
);
126 extern z80t
z80op_bit_4_e(z80t
);
127 extern z80t
z80op_bit_4_h(z80t
);
128 extern z80t
z80op_bit_4_l(z80t
);
129 extern z80t
z80op_bit_4_ihl(z80t
);
130 extern z80t
z80op_bit_4_a(z80t
);
131 extern z80t
z80op_bit_5_b(z80t
);
132 extern z80t
z80op_bit_5_c(z80t
);
133 extern z80t
z80op_bit_5_d(z80t
);
134 extern z80t
z80op_bit_5_e(z80t
);
135 extern z80t
z80op_bit_5_h(z80t
);
136 extern z80t
z80op_bit_5_l(z80t
);
137 extern z80t
z80op_bit_5_ihl(z80t
);
138 extern z80t
z80op_bit_5_a(z80t
);
140 extern z80t
z80op_bit_6_b(z80t
);
141 extern z80t
z80op_bit_6_c(z80t
);
142 extern z80t
z80op_bit_6_d(z80t
);
143 extern z80t
z80op_bit_6_e(z80t
);
144 extern z80t
z80op_bit_6_h(z80t
);
145 extern z80t
z80op_bit_6_l(z80t
);
146 extern z80t
z80op_bit_6_ihl(z80t
);
147 extern z80t
z80op_bit_6_a(z80t
);
148 extern z80t
z80op_bit_7_b(z80t
);
149 extern z80t
z80op_bit_7_c(z80t
);
150 extern z80t
z80op_bit_7_d(z80t
);
151 extern z80t
z80op_bit_7_e(z80t
);
152 extern z80t
z80op_bit_7_h(z80t
);
153 extern z80t
z80op_bit_7_l(z80t
);
154 extern z80t
z80op_bit_7_ihl(z80t
);
155 extern z80t
z80op_bit_7_a(z80t
);
157 extern z80t
z80op_res_0_b(z80t
);
158 extern z80t
z80op_res_0_c(z80t
);
159 extern z80t
z80op_res_0_d(z80t
);
160 extern z80t
z80op_res_0_e(z80t
);
161 extern z80t
z80op_res_0_h(z80t
);
162 extern z80t
z80op_res_0_l(z80t
);
163 extern z80t
z80op_res_0_ihl(z80t
);
164 extern z80t
z80op_res_0_a(z80t
);
165 extern z80t
z80op_res_1_b(z80t
);
166 extern z80t
z80op_res_1_c(z80t
);
167 extern z80t
z80op_res_1_d(z80t
);
168 extern z80t
z80op_res_1_e(z80t
);
169 extern z80t
z80op_res_1_h(z80t
);
170 extern z80t
z80op_res_1_l(z80t
);
171 extern z80t
z80op_res_1_ihl(z80t
);
172 extern z80t
z80op_res_1_a(z80t
);
174 extern z80t
z80op_res_2_b(z80t
);
175 extern z80t
z80op_res_2_c(z80t
);
176 extern z80t
z80op_res_2_d(z80t
);
177 extern z80t
z80op_res_2_e(z80t
);
178 extern z80t
z80op_res_2_h(z80t
);
179 extern z80t
z80op_res_2_l(z80t
);
180 extern z80t
z80op_res_2_ihl(z80t
);
181 extern z80t
z80op_res_2_a(z80t
);
182 extern z80t
z80op_res_3_b(z80t
);
183 extern z80t
z80op_res_3_c(z80t
);
184 extern z80t
z80op_res_3_d(z80t
);
185 extern z80t
z80op_res_3_e(z80t
);
186 extern z80t
z80op_res_3_h(z80t
);
187 extern z80t
z80op_res_3_l(z80t
);
188 extern z80t
z80op_res_3_ihl(z80t
);
189 extern z80t
z80op_res_3_a(z80t
);
191 extern z80t
z80op_res_4_b(z80t
);
192 extern z80t
z80op_res_4_c(z80t
);
193 extern z80t
z80op_res_4_d(z80t
);
194 extern z80t
z80op_res_4_e(z80t
);
195 extern z80t
z80op_res_4_h(z80t
);
196 extern z80t
z80op_res_4_l(z80t
);
197 extern z80t
z80op_res_4_ihl(z80t
);
198 extern z80t
z80op_res_4_a(z80t
);
199 extern z80t
z80op_res_5_b(z80t
);
200 extern z80t
z80op_res_5_c(z80t
);
201 extern z80t
z80op_res_5_d(z80t
);
202 extern z80t
z80op_res_5_e(z80t
);
203 extern z80t
z80op_res_5_h(z80t
);
204 extern z80t
z80op_res_5_l(z80t
);
205 extern z80t
z80op_res_5_ihl(z80t
);
206 extern z80t
z80op_res_5_a(z80t
);
208 extern z80t
z80op_res_6_b(z80t
);
209 extern z80t
z80op_res_6_c(z80t
);
210 extern z80t
z80op_res_6_d(z80t
);
211 extern z80t
z80op_res_6_e(z80t
);
212 extern z80t
z80op_res_6_h(z80t
);
213 extern z80t
z80op_res_6_l(z80t
);
214 extern z80t
z80op_res_6_ihl(z80t
);
215 extern z80t
z80op_res_6_a(z80t
);
216 extern z80t
z80op_res_7_b(z80t
);
217 extern z80t
z80op_res_7_c(z80t
);
218 extern z80t
z80op_res_7_d(z80t
);
219 extern z80t
z80op_res_7_e(z80t
);
220 extern z80t
z80op_res_7_h(z80t
);
221 extern z80t
z80op_res_7_l(z80t
);
222 extern z80t
z80op_res_7_ihl(z80t
);
223 extern z80t
z80op_res_7_a(z80t
);
225 extern z80t
z80op_set_0_b(z80t
);
226 extern z80t
z80op_set_0_c(z80t
);
227 extern z80t
z80op_set_0_d(z80t
);
228 extern z80t
z80op_set_0_e(z80t
);
229 extern z80t
z80op_set_0_h(z80t
);
230 extern z80t
z80op_set_0_l(z80t
);
231 extern z80t
z80op_set_0_ihl(z80t
);
232 extern z80t
z80op_set_0_a(z80t
);
233 extern z80t
z80op_set_1_b(z80t
);
234 extern z80t
z80op_set_1_c(z80t
);
235 extern z80t
z80op_set_1_d(z80t
);
236 extern z80t
z80op_set_1_e(z80t
);
237 extern z80t
z80op_set_1_h(z80t
);
238 extern z80t
z80op_set_1_l(z80t
);
239 extern z80t
z80op_set_1_ihl(z80t
);
240 extern z80t
z80op_set_1_a(z80t
);
242 extern z80t
z80op_set_2_b(z80t
);
243 extern z80t
z80op_set_2_c(z80t
);
244 extern z80t
z80op_set_2_d(z80t
);
245 extern z80t
z80op_set_2_e(z80t
);
246 extern z80t
z80op_set_2_h(z80t
);
247 extern z80t
z80op_set_2_l(z80t
);
248 extern z80t
z80op_set_2_ihl(z80t
);
249 extern z80t
z80op_set_2_a(z80t
);
250 extern z80t
z80op_set_3_b(z80t
);
251 extern z80t
z80op_set_3_c(z80t
);
252 extern z80t
z80op_set_3_d(z80t
);
253 extern z80t
z80op_set_3_e(z80t
);
254 extern z80t
z80op_set_3_h(z80t
);
255 extern z80t
z80op_set_3_l(z80t
);
256 extern z80t
z80op_set_3_ihl(z80t
);
257 extern z80t
z80op_set_3_a(z80t
);
259 extern z80t
z80op_set_4_b(z80t
);
260 extern z80t
z80op_set_4_c(z80t
);
261 extern z80t
z80op_set_4_d(z80t
);
262 extern z80t
z80op_set_4_e(z80t
);
263 extern z80t
z80op_set_4_h(z80t
);
264 extern z80t
z80op_set_4_l(z80t
);
265 extern z80t
z80op_set_4_ihl(z80t
);
266 extern z80t
z80op_set_4_a(z80t
);
267 extern z80t
z80op_set_5_b(z80t
);
268 extern z80t
z80op_set_5_c(z80t
);
269 extern z80t
z80op_set_5_d(z80t
);
270 extern z80t
z80op_set_5_e(z80t
);
271 extern z80t
z80op_set_5_h(z80t
);
272 extern z80t
z80op_set_5_l(z80t
);
273 extern z80t
z80op_set_5_ihl(z80t
);
274 extern z80t
z80op_set_5_a(z80t
);
276 extern z80t
z80op_set_6_b(z80t
);
277 extern z80t
z80op_set_6_c(z80t
);
278 extern z80t
z80op_set_6_d(z80t
);
279 extern z80t
z80op_set_6_e(z80t
);
280 extern z80t
z80op_set_6_h(z80t
);
281 extern z80t
z80op_set_6_l(z80t
);
282 extern z80t
z80op_set_6_ihl(z80t
);
283 extern z80t
z80op_set_6_a(z80t
);
284 extern z80t
z80op_set_7_b(z80t
);
285 extern z80t
z80op_set_7_c(z80t
);
286 extern z80t
z80op_set_7_d(z80t
);
287 extern z80t
z80op_set_7_e(z80t
);
288 extern z80t
z80op_set_7_h(z80t
);
289 extern z80t
z80op_set_7_l(z80t
);
290 extern z80t
z80op_set_7_ihl(z80t
);
291 extern z80t
z80op_set_7_a(z80t
);