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.
25 #define NEXTTAB(tab) \
27 register byte nextop; \
30 return (*z80c_op_tab_ ## tab [nextop])(z80p); \
33 #define NEXTTAB(tab) \
35 register byte nextop; \
38 (*z80c_op_tab_ ## tab [nextop])(); \
43 OPDEF(special_cb
, 0xCB)
50 OPDEF(special_dd
, 0xDD)
58 OPDEF(special_ed
, 0xED)
64 OPDEF(special_fd
, 0xFD)
71 OPDEF(special_xx
, 0xDD 0xFD)
78 OPDEF(special_dd_cb
, 0xCB)
81 IXDGET(IX
, DANM(cbaddr
));
83 if((*PCP
& 0x07) != 6)
84 printf("DD_CB unimplemented!\n");
89 OPDEF(special_fd_cb
, 0xCB)
92 IXDGET(IY
, DANM(cbaddr
));
94 if((*PCP
& 0x07) != 6)
95 printf("FD_CB unimplemented!\n");
100 op_f z80c_op_tab
[] = {
375 op_f z80c_op_tab_ed
[] = {
649 op_f z80c_op_tab_dd
[] = {
924 op_f z80c_op_tab_fd
[] = {
1140 z80op_special_fd_cb
,
1198 op_f z80c_op_tab_cb
[] = {