Fix definition of NEGBRANCH
authorNick Clifton <nickc@redhat.com>
Mon, 12 Feb 2001 23:29:49 +0000 (23:29 +0000)
committerNick Clifton <nickc@redhat.com>
Mon, 12 Feb 2001 23:29:49 +0000 (23:29 +0000)
sim/arm/ChangeLog
sim/arm/armemu.h

index 0bd88b537d8edf64a6f54cb1ef043ecaa98d149e..ac6e4533d67895258063b8b3dc3040240a30f419 100644 (file)
@@ -1,3 +1,7 @@
+2001-02-12  Nick Clifton  <nickc@redhat.com>
+
+       * armemu.h (NEGBRANCH): Fix defintion.
+
 2001-02-01  Nick Clifton  <nickc@redhat.com>
 
        * armemu.c (LoadSMult): Update base address register after
index 8fd5f356d33922031b86d211e7007fb5f2827809..4d4406d22547c61dec9ec5a1d06c60164737fda1 100644 (file)
@@ -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                               *