aboutsummaryrefslogtreecommitdiff
path: root/opcodes/v850-opc.c
diff options
context:
space:
mode:
authorJ.T. Conklin <jtc@acorntoolworks.com>1996-08-31 01:04:39 +0000
committerJ.T. Conklin <jtc@acorntoolworks.com>1996-08-31 01:04:39 +0000
commitd44b697b7804438f5b1799a2e40dee3efe535174 (patch)
tree2602b0908ef8d70cff37e3fbfa2d29c5f8975fbc /opcodes/v850-opc.c
parentefd48a6a9733e6cce5a16a329791d73bb6a51a97 (diff)
downloadgdb-d44b697b7804438f5b1799a2e40dee3efe535174.zip
gdb-d44b697b7804438f5b1799a2e40dee3efe535174.tar.gz
gdb-d44b697b7804438f5b1799a2e40dee3efe535174.tar.bz2
* v850-opc.c (v850_operands): Add V850_OPERAND_SIGNED flag
and set bits field to D9 and D22 operands.
Diffstat (limited to 'opcodes/v850-opc.c')
-rw-r--r--opcodes/v850-opc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/opcodes/v850-opc.c b/opcodes/v850-opc.c
index 2bdbc83..2cd98e8 100644
--- a/opcodes/v850-opc.c
+++ b/opcodes/v850-opc.c
@@ -50,7 +50,7 @@ const struct v850_operand v850_operands[] = {
/* The DISP9 field in a format 3 insn. */
#define D9 (D7S+1)
- { 0, 0, insert_d9, extract_d9, V850_OPERAND_SIGNED },
+ { 9, 0, insert_d9, extract_d9, V850_OPERAND_SIGNED },
/* The DISP16 field in a format 6 insn. */
#define D16 (D9+1)
@@ -58,7 +58,7 @@ const struct v850_operand v850_operands[] = {
/* The DISP22 field in a format 4 insn. */
#define D22 (D16+1)
- { 16, 0, 0, 0, 0 },
+ { 22, 0, 0, 0, V850_OPERAND_SIGNED },
#define B3 (D22+1)
/* The 3 bit immediate field in format 8 insn. */