aboutsummaryrefslogtreecommitdiff
path: root/opcodes/v850-opc.c
diff options
context:
space:
mode:
authorMichael Meissner <gnu@the-meissners.org>1996-12-31 20:11:39 +0000
committerMichael Meissner <gnu@the-meissners.org>1996-12-31 20:11:39 +0000
commit0068e79cc5ab9d6096cc5fd4c73680a6b97a7544 (patch)
tree9457a8741adf2b0827333197da4305a18bea05e4 /opcodes/v850-opc.c
parent2bbc3e446261d8f0aad34a66f3dee6fefa19c257 (diff)
downloadgdb-0068e79cc5ab9d6096cc5fd4c73680a6b97a7544.zip
gdb-0068e79cc5ab9d6096cc5fd4c73680a6b97a7544.tar.gz
gdb-0068e79cc5ab9d6096cc5fd4c73680a6b97a7544.tar.bz2
Set V850_OPERAND_ADJUST_SHORT_MEMORY flag on sst.{h,w}/sld.{h,w} instructions
Diffstat (limited to 'opcodes/v850-opc.c')
-rw-r--r--opcodes/v850-opc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/opcodes/v850-opc.c b/opcodes/v850-opc.c
index 59270ed..b46ee82 100644
--- a/opcodes/v850-opc.c
+++ b/opcodes/v850-opc.c
@@ -88,11 +88,11 @@ const struct v850_operand v850_operands[] = {
/* The unsigned DISP8_7 field in a format 4 insn. */
#define D8_7 (CCCC+1)
- { 8, 0, insert_d8_7, extract_d8_7, 0 },
+ { 8, 0, insert_d8_7, extract_d8_7, V850_OPERAND_ADJUST_SHORT_MEMORY },
/* The unsigned DISP8_6 field in a format 4 insn. */
#define D8_6 (D8_7+1)
- { 8, 0, insert_d8_6, extract_d8_6, 0 },
+ { 8, 0, insert_d8_6, extract_d8_6, V850_OPERAND_ADJUST_SHORT_MEMORY },
/* System register operands. */
#define SR1 (D8_6+1)
@@ -296,6 +296,7 @@ const struct v850_opcode v850_opcodes[] = {
{ "jz", BOP(0x2), BOP_MASK, IF3, 0 },
{ "jnz", BOP(0xa), BOP_MASK, IF3, 0 },
{ "jsa", BOP(0xd), BOP_MASK, IF3, 0 },
+{ "jbr", BOP(0x5), BOP_MASK, IF3, 0 },
{ "jmp", one(0x0060), one(0xffe0), { R1}, 1 },
{ "jr", one(0x0780), two(0xffc0,0x0001),{ D22 }, 0 },