* armemu.h (WRITEDESTB): New macro.
authorAlexandre Oliva <aoliva@redhat.com>
Tue, 4 Jul 2000 06:35:36 +0000 (06:35 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Tue, 4 Jul 2000 06:35:36 +0000 (06:35 +0000)
commit892c6b9d8fca691330232aaea9c0aaaff880feb1
tree55ad5d35c9581a69e5f64e927b43676ad6f798a1
parentcf52c765b09c13868d5cc5a8eb0297854be660d5
* armemu.h (WRITEDESTB): New macro.
* armemu.c (ARMul_Emulate26, bl): Use WriteR15Branch() to
modify PC.  Moved the existing logic...
(WriteR15Branch): ... here.  New function.
(WriteR15, WriteSR15): Drop the two least significant bits.
(LoadSMult): Use WriteR15Branch() to modify PC.
(LoadMult): Use WRITEDESTB() instead of WRITEDEST().
sim/arm/ChangeLog
sim/arm/armemu.c
sim/arm/armemu.h