mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-25 05:00:01 +00:00
* simops.c: Fix "mov imm8,an" and "mov imm16,dn".
Fixes 80 or so c-torture execution failures. 400 to go.
This commit is contained in:
parent
5dda64611e
commit
fcfaf40d78
@ -1,3 +1,7 @@
|
||||
Mon Dec 2 12:31:40 1996 Jeffrey A Law (law@cygnus.com)
|
||||
|
||||
* simops.c: Fix "mov imm8,an" and "mov imm16,dn".
|
||||
|
||||
Sun Dec 1 16:05:42 1996 Jeffrey A Law (law@cygnus.com)
|
||||
|
||||
* simops.c: Fix overflow computation for many instructions.
|
||||
|
@ -89,7 +89,7 @@ void OP_F1D0 ()
|
||||
/* mov imm8, an */
|
||||
void OP_9000 ()
|
||||
{
|
||||
State.regs[REG_D0 + ((insn & 0x300) >> 8)] = insn & 0xff;
|
||||
State.regs[REG_A0 + ((insn & 0x300) >> 8)] = insn & 0xff;
|
||||
}
|
||||
|
||||
/* mov am, an */
|
||||
@ -445,7 +445,7 @@ void OP_2C0000 ()
|
||||
unsigned long value;
|
||||
|
||||
value = SEXT16 (insn & 0xffff);
|
||||
State.regs[REG_A0 + ((insn & 0x30000) >> 16)] = value;
|
||||
State.regs[REG_D0 + ((insn & 0x30000) >> 16)] = value;
|
||||
}
|
||||
|
||||
/* mov imm32,dn */
|
||||
|
Loading…
Reference in New Issue
Block a user