struct / union in initializer, RFE #901.
[sdcc.git] / sdcc-extra / emu / rrz80 / cpu / z80_op4x.c
blob2d966163b48156ca9b18c3a538a4b41d50bdee15
1 /*
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.
21 /* IX */
23 POP_RR(ix, IX, 2)
24 PUSH_RR(ix, IX, 2)
26 JP_RR(ix, IX)
27 LD_SP_RR(ix, IX)
28 EX_ISP_RR(ix, IX)
31 /* IY */
33 POP_RR(iy, IY, 2)
34 PUSH_RR(iy, IY, 2)
36 JP_RR(iy, IY)
37 LD_SP_RR(iy, IY)
38 EX_ISP_RR(iy, IY)