aboutsummaryrefslogtreecommitdiff
path: root/include/opcode/mn10300.h
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1999-12-01 10:05:24 +0000
committerJeff Law <law@redhat.com>1999-12-01 10:05:24 +0000
commitccecd07b7ea38fed3187963485affb45a43a2b6d (patch)
treeda925543b71e323aba4614837b6c7ecea233a192 /include/opcode/mn10300.h
parent98d8431c7d2f12be9f39abae99af3f8e8efc524d (diff)
downloadgdb-ccecd07b7ea38fed3187963485affb45a43a2b6d.zip
gdb-ccecd07b7ea38fed3187963485affb45a43a2b6d.tar.gz
gdb-ccecd07b7ea38fed3187963485affb45a43a2b6d.tar.bz2
* mn10300.h: Add new operand types. Add new instruction formats.
Diffstat (limited to 'include/opcode/mn10300.h')
-rw-r--r--include/opcode/mn10300.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/include/opcode/mn10300.h b/include/opcode/mn10300.h
index 34e4b0b..12f0367 100644
--- a/include/opcode/mn10300.h
+++ b/include/opcode/mn10300.h
@@ -117,6 +117,23 @@ extern const struct mn10300_operand mn10300_operands[];
#define MN10300_OPERAND_RELAX 0x4000
+#define MN10300_OPERAND_USP 0x8000
+
+#define MN10300_OPERAND_SSP 0x10000
+
+#define MN10300_OPERAND_MSP 0x20000
+
+#define MN10300_OPERAND_PC 0x40000
+
+#define MN10300_OPERAND_EPSW 0x80000
+
+#define MN10300_OPERAND_RREG 0x100000
+
+#define MN10300_OPERAND_XRREG 0x200000
+
+#define MN10300_OPERAND_PLUS 0x400000
+
+#define MN10300_OPERAND_24BIT 0x800000
/* Opcode Formats. */
#define FMT_S0 1
@@ -129,10 +146,16 @@ extern const struct mn10300_operand mn10300_operands[];
#define FMT_D2 8
#define FMT_D4 9
#define FMT_D5 10
+#define FMT_D6 11
+#define FMT_D7 12
+#define FMT_D8 13
+#define FMT_D9 14
+#define FMT_D10 15
/* Variants of the mn10300 which have additional opcodes. */
#define MN103 300
#define AM30 300
+#define AM33 330
#endif /* MN10300_H */