2 Copyright 2001 Free Software Foundation, Inc.
4 This file is part of GDB and GAS.
6 GDB and GAS are free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 1, or (at your option)
11 GDB and GAS are distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with GDB or GAS; see the file COPYING. If not, write to
18 the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
21 * PDP-11 opcode types.
24 #define PDP11_OPCODE_NO_OPS 0
25 #define PDP11_OPCODE_REG 1 /* register */
26 #define PDP11_OPCODE_OP 2 /* generic operand */
27 #define PDP11_OPCODE_REG_OP 3 /* register and generic operand */
28 #define PDP11_OPCODE_REG_OP_REV 4 /* register and generic operand,
30 #define PDP11_OPCODE_AC_OP 5 /* fpu accumulator and generic
32 #define PDP11_OPCODE_OP_OP 6 /* two generic operands */
33 #define PDP11_OPCODE_DISPL 7 /* pc-relative displacement */
34 #define PDP11_OPCODE_REG_DISPL 8 /* redister and pc-relative
36 #define PDP11_OPCODE_IMM8 9 /* 8-bit immediate */
37 #define PDP11_OPCODE_IMM6 10 /* 6-bit immediate */
38 #define PDP11_OPCODE_IMM3 11 /* 3-bit immediate */
39 #define PDP11_OPCODE_ILLEGAL 12 /* illegal instruction */
42 * PDP-11 instruction set extensions.
44 * Please keep the numbers low, as they are used as indices into
48 #define PDP11_NONE 0 /* not in instruction set */
49 #define PDP11_BASIC 1 /* basic instruction set (11/20 etc) */
50 #define PDP11_CSM 2 /* commercial instruction set */
51 #define PDP11_CIS 3 /* commercial instruction set */
52 #define PDP11_EIS 4 /* extended instruction set (11/45 etc) */
53 #define PDP11_FIS 5 /* KEV11 floating-point instructions */
54 #define PDP11_FPP 6 /* FP-11 floating-point instructions */
55 #define PDP11_LEIS 7 /* limited extended instruction set
57 #define PDP11_MFPT 8 /* move from processor type */
58 #define PDP11_MPROC 9 /* multiprocessor instructions: tstset,
60 #define PDP11_MXPS 10 /* move from/to processor status */
61 #define PDP11_SPL 11 /* set priority level */
62 #define PDP11_UCODE 12 /* microcode instructions: ldub, med, xfc */
63 #define PDP11_EXT_NUM 13 /* total number of extension types */
74 extern const struct pdp11_opcode pdp11_opcodes
[];
75 extern const struct pdp11_opcode pdp11_aliases
[];
76 extern const int pdp11_num_opcodes
, pdp11_num_aliases
;