summaryrefslogtreecommitdiff
path: root/gnu/dist/include/opcode/d10v.h
diff options
context:
space:
mode:
authortv <tv@NetBSD.org>1999-02-02 19:51:16 +0000
committertv <tv@NetBSD.org>1999-02-02 19:51:16 +0000
commit2e8b57510c512922b01977bf9c07cb986ddbaa67 (patch)
tree99f0ff2ba55134ad127492d887b5b6567773ef25 /gnu/dist/include/opcode/d10v.h
parent269cb58003ce63bbb1763517287a25b909583ae4 (diff)
By popular demand, import binutils 2.9.1.
Diffstat (limited to 'gnu/dist/include/opcode/d10v.h')
-rw-r--r--gnu/dist/include/opcode/d10v.h27
1 files changed, 18 insertions, 9 deletions
diff --git a/gnu/dist/include/opcode/d10v.h b/gnu/dist/include/opcode/d10v.h
index 33d1af40c84..4b74c9862d4 100644
--- a/gnu/dist/include/opcode/d10v.h
+++ b/gnu/dist/include/opcode/d10v.h
@@ -1,5 +1,5 @@
/* d10v.h -- Header file for D10V opcode table
- Copyright 1996 Free Software Foundation, Inc.
+ Copyright 1996, 1997, 1998 Free Software Foundation, Inc.
Written by Martin Hunt (hunt@cygnus.com), Cygnus Support
This file is part of GDB, GAS, and the GNU binutils.
@@ -148,24 +148,33 @@ extern const struct d10v_operand d10v_operands[];
/* @( */
#define OPERAND_ATPAR (0x200)
-/* accumulator */
-#define OPERAND_ACC (0x400)
+/* accumulator 0 */
+#define OPERAND_ACC0 (0x400)
-/* flag register */
-#define OPERAND_FLAG (0x800)
+/* accumulator 1 */
+#define OPERAND_ACC1 (0x800)
+
+/* f0 / f1 flag register */
+#define OPERAND_FFLAG (0x1000)
+
+/* c flag register */
+#define OPERAND_CFLAG (0x2000)
/* control register */
-#define OPERAND_CONTROL (0x1000)
+#define OPERAND_CONTROL (0x4000)
/* predecrement mode '@-sp' */
-#define OPERAND_ATMINUS (0x2000)
+#define OPERAND_ATMINUS (0x8000)
/* signed number */
-#define OPERAND_SIGNED (0x4000)
+#define OPERAND_SIGNED (0x10000)
/* special accumulator shifts need a 4-bit number */
/* 1 <= x <= 16 */
-#define OPERAND_SHIFT (0x8000)
+#define OPERAND_SHIFT (0x20000)
+
+/* general purpose register */
+#define OPERAND_GPR (0x40000)
/* Structure to hold information about predefined registers. */
struct pd_reg