* armemu.h (NEGBRANCH): Do not overwrite the two most significant
authorAlexandre Oliva <aoliva@redhat.com>
Tue, 20 Jun 2000 09:36:12 +0000 (09:36 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Tue, 20 Jun 2000 09:36:12 +0000 (09:36 +0000)
bits of the offset.

sim/arm/ChangeLog
sim/arm/armemu.h

index f7b789564952a0f414bbfe30ce5121d25a359ac7..a2329be759398350e3a389bc39c80cf3b210f6f8 100644 (file)
@@ -1,3 +1,8 @@
+2000-06-20  Alexandre Oliva  <aoliva@cygnus.com>
+
+       * armemu.h (NEGBRANCH): Do not overwrite the two most significant
+       bits of the offset.
+
 2000-05-25  Nick Clifton  <nickc@cygnus.com>
 
        * armcopro.c (MMUMCR): Only indicate mode change if a singal has
index b80c4ef2e70d113b1c140184bc1a1e3f025210cb..a51c67ea20f3d3c581c1e892b35d046b3b099c43 100644 (file)
@@ -342,7 +342,7 @@ extern ARMword isize;
 #define STORESMULT(instr,address,wb) StoreSMult(state,instr,address,wb)
 
 #define POSBRANCH ((instr & 0x7fffff) << 2)
-#define NEGBRANCH (0xff000000 | ((instr & 0xffffff) << 2))
+#define NEGBRANCH (0xfc000000 | ((instr & 0xffffff) << 2))
 
 /***************************************************************************\
 *                          Values for Emulate                               *
This page took 0.027043 seconds and 4 git commands to generate.