diff options
Diffstat (limited to 'sim/arm/armemu.h')
-rw-r--r-- | sim/arm/armemu.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sim/arm/armemu.h b/sim/arm/armemu.h index 8fd5f35..4d4406d 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 * |