aboutsummaryrefslogtreecommitdiff
path: root/opcodes/mn10200-opc.c
diff options
context:
space:
mode:
Diffstat (limited to 'opcodes/mn10200-opc.c')
-rw-r--r--opcodes/mn10200-opc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/opcodes/mn10200-opc.c b/opcodes/mn10200-opc.c
index 999d7cf..2fb71bf 100644
--- a/opcodes/mn10200-opc.c
+++ b/opcodes/mn10200-opc.c
@@ -68,7 +68,7 @@ const struct mn10200_operand mn10200_operands[] = {
/* 16 bit pc-relative immediate which may promote to a 16bit
pc-relative immediate. */
#define IMM16_PCREL (IMM16+1)
- {16, 0, MN10200_OPERAND_PCREL | MN10200_OPERAND_RELAX},
+ {16, 0, MN10200_OPERAND_PCREL | MN10200_OPERAND_RELAX | MN10200_OPERAND_SIGNED},
/* 16bit unsigned dispacement in a memory operation which
may promote to a 32bit displacement. */
@@ -83,7 +83,7 @@ const struct mn10200_operand mn10200_operands[] = {
/* 32bit pc-relative offset. */
#define IMM24_PCREL (IMM24+1)
- {24, 0, MN10200_OPERAND_EXTENDED | MN10200_OPERAND_PCREL},
+ {24, 0, MN10200_OPERAND_EXTENDED | MN10200_OPERAND_PCREL | MN10200_OPERAND_SIGNED},
/* 32bit memory offset. */
#define IMM24_MEM (IMM24_PCREL+1)