aboutsummaryrefslogtreecommitdiff
path: root/sim/arm/armemu.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/arm/armemu.c')
-rw-r--r--sim/arm/armemu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sim/arm/armemu.c b/sim/arm/armemu.c
index 36b7bba..fa994e0 100644
--- a/sim/arm/armemu.c
+++ b/sim/arm/armemu.c
@@ -464,6 +464,7 @@ ARMword ARMul_Emulate26(register ARMul_State *state)
if (temp) { /* if the condition codes don't match, stop here */
mainswitch:
+
switch ((int)BITS(20,27)) {
/***************************************************************************\
@@ -877,6 +878,7 @@ mainswitch:
break ;
case 0x10 : /* TST reg and MRS CPSR and SWP word */
+
#ifdef MODET
if (BITS(4,11) == 0xB) {
/* STRH register offset, no write-back, down, pre indexed */