* simops.c: Fix thinko in last change.
This commit is contained in:
parent
f5d3fb7587
commit
c370b3cd95
@ -1,3 +1,7 @@
|
||||
Wed Jun 11 22:07:56 1997 Jeffrey A Law (law@cygnus.com)
|
||||
|
||||
* simops.c: Fix thinko in last change.
|
||||
|
||||
Tue Jun 10 12:31:32 1997 Jeffrey A Law (law@cygnus.com)
|
||||
|
||||
* simops.c: "call" stores the callee saved registers into the
|
||||
|
@ -2652,7 +2652,7 @@ void OP_DD000000 (insn, extension)
|
||||
}
|
||||
|
||||
/* Update the stack pointer. */
|
||||
State.regs[REG_SP] = sp - extension;
|
||||
State.regs[REG_SP] = sp - (extension & 0xff);
|
||||
State.regs[REG_MDR] = next_pc;
|
||||
State.regs[REG_PC] += (((insn & 0xffffff) << 8) | ((extension & 0xff0000) >> 16)) - 7;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user