From b00ea55caf2a3e160e549bc641422da0c6f75adb Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Tue, 21 Jul 1998 23:46:56 +0000 Subject: [PATCH] regenerate, get displacement operand shifts right --- opcodes/m32r-asm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/opcodes/m32r-asm.c b/opcodes/m32r-asm.c index 8f73dc57e86..0531c64e1e9 100644 --- a/opcodes/m32r-asm.c +++ b/opcodes/m32r-asm.c @@ -394,21 +394,21 @@ m32r_cgen_insert_operand (opindex, fields, buffer, pc) case M32R_OPERAND_DISP8 : { long value = fields->f_disp8; - value = ((((value) - (((pc) & (-4))))) >> (2)); + value = ((int) (((value) - (((pc) & (-4))))) >> (2)); errmsg = insert_normal (value, 0|(1<f_disp16; - value = ((((value) - (pc))) >> (2)); + value = ((int) (((value) - (pc))) >> (2)); errmsg = insert_normal (value, 0|(1<f_disp24; - value = ((((value) - (pc))) >> (2)); + value = ((int) (((value) - (pc))) >> (2)); errmsg = insert_normal (value, 0|(1<