Imported Upstream version 2.9.0
[debian/cc1111] / sim / ucsim / z80.src / inst_fd.cc
1 /*
2  * Simulator of microcontrollers (inst_fd.cc)
3  *  FD escaped multi-byte opcodes.
4  *
5  *
6  * Copyright (C) 1999,2001 Drotos Daniel, Talker Bt.
7  * 
8  * To contact author send email to drdani@mazsola.iit.uni-miskolc.hu
9  *
10  * some z80 code base from Karl Bongers karl@turbobit.com
11  */
12
13 /* This file is part of microcontroller simulator: ucsim.
14
15 UCSIM is free software; you can redistribute it and/or modify
16 it under the terms of the GNU General Public License as published by
17 the Free Software Foundation; either version 2 of the License, or
18 (at your option) any later version.
19
20 UCSIM is distributed in the hope that it will be useful,
21 but WITHOUT ANY WARRANTY; without even the implied warranty of
22 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
23 GNU General Public License for more details.
24
25 You should have received a copy of the GNU General Public License
26 along with UCSIM; see the file COPYING.  If not, write to the Free
27 Software Foundation, 59 Temple Place - Suite 330, Boston, MA
28 02111-1307, USA. */
29 /*@1@*/
30
31 #include "ddconfig.h"
32
33 // local
34 #include "z80cl.h"
35 #include "regsz80.h"
36 #include "z80mac.h"
37
38 #define regs_iX_h regs.iy.h
39 #define regs_iX_l regs.iy.l
40 #define regs_IX_OR_IY regs.IY
41 #define inst_Xd_ld inst_fd_ld
42 #define inst_Xd_add inst_fd_add
43 #define inst_Xd_push inst_fd_push
44 #define inst_Xd_inc inst_fd_inc
45 #define inst_Xd_dec inst_fd_dec
46 #define inst_Xd_misc inst_fd_misc
47 #define inst_Xd inst_fd
48 #define inst_Xdcb inst_fdcb
49
50 #include "inst_xd.cc"
51
52 /* End of z80.src/inst_fd.cc */