* armemu.h (NEGBRANCH): Do not overwrite the two most significant

bits of the offset.
This commit is contained in:
Alexandre Oliva 2000-06-20 09:36:12 +00:00
parent f6dd1e7029
commit fe47e8dfd3
2 changed files with 6 additions and 1 deletions

View 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> 2000-05-25 Nick Clifton <nickc@cygnus.com>
* armcopro.c (MMUMCR): Only indicate mode change if a singal has * armcopro.c (MMUMCR): Only indicate mode change if a singal has

View file

@ -342,7 +342,7 @@ extern ARMword isize;
#define STORESMULT(instr,address,wb) StoreSMult(state,instr,address,wb) #define STORESMULT(instr,address,wb) StoreSMult(state,instr,address,wb)
#define POSBRANCH ((instr & 0x7fffff) << 2) #define POSBRANCH ((instr & 0x7fffff) << 2)
#define NEGBRANCH (0xff000000 | ((instr & 0xffffff) << 2)) #define NEGBRANCH (0xfc000000 | ((instr & 0xffffff) << 2))
/***************************************************************************\ /***************************************************************************\
* Values for Emulate * * Values for Emulate *