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.
26 #define NEXTTAB(tab) \
28 register byte nextop; \
31 return (*z80c_op_tab_ ## tab [nextop])(z80p); \
34 #define NEXTTAB(tab) \
36 register byte nextop; \
39 (*z80c_op_tab_ ## tab [nextop])(); \
44 OPDEF(special_cb
, 0xCB)
51 OPDEF(special_dd
, 0xDD)
59 OPDEF(special_ed
, 0xED)
65 OPDEF(special_fd
, 0xFD)
72 OPDEF(special_xx
, 0xDD 0xFD)
79 OPDEF(special_dd_cb
, 0xCB)
82 IXDGET(IX
, DANM(cbaddr
));
84 if((*PCP
& 0x07) != 6)
85 printf("DD_CB unimplemented!\n");
90 OPDEF(special_fd_cb
, 0xCB)
93 IXDGET(IY
, DANM(cbaddr
));
95 if((*PCP
& 0x07) != 6)
96 printf("FD_CB unimplemented!\n");
101 op_f z80c_op_tab
[] = {
376 op_f z80c_op_tab_ed
[] = {
650 op_f z80c_op_tab_dd
[] = {
925 op_f z80c_op_tab_fd
[] = {
1141 z80op_special_fd_cb
,
1199 op_f z80c_op_tab_cb
[] = {