From 9ad8ddf1bd4d07041d0149b64a2e29881586a89d Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Fri, 23 Aug 1996 17:52:00 +0000 Subject: [PATCH] * v850-opc.c (v850_operands): I16 inserts at offset 16! Should get immediate 16bit operands into the right place --- opcodes/ChangeLog | 2 ++ opcodes/v850-opc.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 41521e89b76..704b5130573 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,6 +1,8 @@ start-sanitize-v850 Fri Aug 23 00:27:01 1996 Jeffrey A Law (law@cygnus.com) + * v850-opc.c (v850_operands): I16 inserts at offset 16! + * v850-opc.c (v850_operands): Add "SR1" and "SR2" for system register source and destination operands. (v850_opcodes): Use SR1 and SR2 for "ldsr" and "stsr". diff --git a/opcodes/v850-opc.c b/opcodes/v850-opc.c index 90477019145..39cb57ba151 100644 --- a/opcodes/v850-opc.c +++ b/opcodes/v850-opc.c @@ -42,7 +42,7 @@ const struct v850_operand v850_operands[] = { /* The IMM16 field in a format 6 insn. */ #define I16 (I5U+1) - { 16, 0, 0, 0, 0 }, + { 16, 16, 0, 0, 0 }, /* The signed DISP7 field in a format 4 insn. */ #define D7S (I16+1) -- 2.30.2