Fix definition of NEGBRANCH

This commit is contained in:
Nick Clifton 2001-02-12 23:29:49 +00:00
parent 51e0a107ce
commit 179ae6ea64
2 changed files with 6 additions and 1 deletions

View 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

View 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 *