From 179ae6ea64567f2be7d760c619c6a470b3de520c Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 12 Feb 2001 23:29:49 +0000 Subject: [PATCH] Fix definition of NEGBRANCH --- sim/arm/ChangeLog | 4 ++++ sim/arm/armemu.h | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/sim/arm/ChangeLog b/sim/arm/ChangeLog index 0bd88b537d8..ac6e4533d67 100644 --- a/sim/arm/ChangeLog +++ b/sim/arm/ChangeLog @@ -1,3 +1,7 @@ +2001-02-12 Nick Clifton + + * armemu.h (NEGBRANCH): Fix defintion. + 2001-02-01 Nick Clifton * armemu.c (LoadSMult): Update base address register after diff --git a/sim/arm/armemu.h b/sim/arm/armemu.h index 8fd5f356d33..4d4406d2254 100644 --- a/sim/arm/armemu.h +++ b/sim/arm/armemu.h @@ -390,7 +390,8 @@ extern ARMword isize; #define STORESMULT(instr,address,wb) StoreSMult(state,instr,address,wb) #define POSBRANCH ((instr & 0x7fffff) << 2) -#define NEGBRANCH (0xfc000000 | ((instr & 0xffffff) << 2)) +#define NEGBRANCH ((0xff000000 |(instr & 0xffffff)) << 2) + /***************************************************************************\ * Values for Emulate * -- 2.30.2