diff options
Diffstat (limited to 'sim/v850/simops.c')
-rw-r--r-- | sim/v850/simops.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sim/v850/simops.c b/sim/v850/simops.c index c6969fe..77d6949 100644 --- a/sim/v850/simops.c +++ b/sim/v850/simops.c @@ -112,6 +112,7 @@ OP_720 () int result, temp; op0 = State.regs[OP[0]]; + temp = OP[2]; temp = (temp << 16) >> 16; temp &= ~0x1; op2 = temp; @@ -128,6 +129,7 @@ OP_10720 () int result, temp; op0 = State.regs[OP[0]]; + temp = OP[2]; temp = (temp << 16) >> 16; temp &= ~0x1; op2 = temp; |