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 ADD_RR_RR(ix
, IX
, bc
, BC
, 0)
26 ADD_RR_RR(ix
, IX
, de
, DE
, 1)
27 ADD_RR_RR(ix
, IX
, ix
, IX
, 2)
28 ADD_RR_RR(ix
, IX
, sp
, SP
, 3)
45 MODMEMADDR(INC
, addr
);
56 MODMEMADDR(DEC
, addr
);
64 OPDEF(ld_iixd_n
, 0x36)
68 WRITE(addr
, READ(PC
));
78 ADD_RR_RR(iy
, IY
, bc
, BC
, 0)
79 ADD_RR_RR(iy
, IY
, de
, DE
, 1)
80 ADD_RR_RR(iy
, IY
, iy
, IY
, 2)
81 ADD_RR_RR(iy
, IY
, sp
, SP
, 3)
98 MODMEMADDR(INC
, addr
);
105 OPDEF(dec_iiyd
, 0x35)
109 MODMEMADDR(DEC
, addr
);
117 OPDEF(ld_iiyd_n
, 0x36)
121 WRITE(addr
, READ(PC
));