1 /* zpu.h -- Header file for Zylin ZPU opcode table
2 Copyright 1999, 2000, 2002, 2003 Free Software Foundation, Inc.
3 Written by Stephane Carrez (stcarrez@nerim.fr)
5 This file is part of GDB, GAS, and the GNU binutils.
7 GDB, GAS, and the GNU binutils are free software; you can redistribute
8 them and/or modify them under the terms of the GNU General Public
9 License as published by the Free Software Foundation; either version
10 1, or (at your option) any later version.
12 GDB, GAS, and the GNU binutils are distributed in the hope that they
13 will be useful, but WITHOUT ANY WARRANTY; without even the implied
14 warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
15 the GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with this file; see the file COPYING. If not, write to the Free
19 Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
56 ZPU_lessthanorequal
=37,
58 ZPU_ulessthanorequal
=39,
84 ZPU_impcrel
=0, /* not an opcode, translates to IM instructions */
86 ZPU_storesp
=64, /* 32 instructions */
88 ZPU_loadsp
=64+32, /* 32 instructions */
92 ZPU_im14
=0, /* nonrelaxable 14 bit immediate */
100 enum ZPU_ADDRMODE amode
;
104 /* The opcode table. The table contains all the opcodes (all pages).
105 You can't rely on the order. */
106 extern const struct zpu_opcode zpu_opcodes
[];
107 extern const int zpu_num_opcodes
;
109 #endif /* _OPCODE_ZPU_H */