mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-24 20:49:43 +00:00
* simops.c (OP_F0FD): Initialise variable 'sp' for rti instruction.
This commit is contained in:
parent
bd5eafcd7c
commit
52ef605e6d
@ -1,3 +1,7 @@
|
||||
Wed Mar 25 12:08:00 1998 Joyce Janczyn <janczyn@cygnus.com>
|
||||
|
||||
* simops.c (OP_F0FD): Initialise variable 'sp'.
|
||||
|
||||
Thu Mar 26 00:21:32 1998 Andrew Cagney <cagney@b1.cygnus.com>
|
||||
|
||||
* dv-mn103int.c (decode_group): A group register every 4 bytes not
|
||||
|
@ -2846,6 +2846,7 @@ void OP_F0FD (insn, extension)
|
||||
{
|
||||
unsigned int sp, next_pc;
|
||||
|
||||
sp = State.regs[REG_SP];
|
||||
PSW = State.mem[sp] | (State.mem[sp + 1] << 8);
|
||||
State.regs[REG_PC] = (State.mem[sp+4] | (State.mem[sp+5] << 8)
|
||||
| (State.mem[sp+6] << 16) | (State.mem[sp+7] << 24));
|
||||
|
Loading…
Reference in New Issue
Block a user