* simops.c: Fix thinko in last change.

This commit is contained in:
Jeff Law 1997-06-12 04:14:42 +00:00
parent f5d3fb7587
commit c370b3cd95
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -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;
}