1 /* 2 * Simulator of microcontrollers (inst_dd.cc) 3 * dd escaped multi-byte opcodes. 4 * 5 * some z80 code base from Karl Bongers karl@turbobit.com 6 * 7 * Copyright (C) 1999,99 Drotos Daniel, Talker Bt. 8 * 9 * To contact author send email to drdani@mazsola.iit.uni-miskolc.hu 10 * 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.ix.h 39 #define regs_iX_l regs.ix.l 40 #define regs_IX_OR_IY regs.IX 41 #define inst_Xd_ld inst_dd_ld 42 #define inst_Xd_add inst_dd_add 43 #define inst_Xd_push inst_dd_push 44 #define inst_Xd_inc inst_dd_inc 45 #define inst_Xd_dec inst_dd_dec 46 #define inst_Xd_misc inst_dd_misc 47 #define inst_Xd inst_dd 48 #define inst_Xdcb inst_ddcb 49 50 #define inst_Xfix 0xDD 51 52 #include "inst_xd.cc" 53 54 /* End of z80.src/inst_dd.cc */ 55