* simops.c: Fix "mov am, dn".

Fixes more c-torture problems.
This commit is contained in:
Jeff Law 1996-12-02 04:23:37 +00:00
parent 6db7fc49d2
commit c8f0171f5f
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
Sun Dec 1 16:05:42 1996 Jeffrey A Law (law@cygnus.com)
* simops.c: Fix "mov am, dn".
* simops.c: Fix more bugs in "add imm,an" and
"add imm,dn".

View File

@ -77,7 +77,7 @@ void OP_80 ()
/* mov dm, an */
void OP_F1E0 ()
{
State.regs[REG_A0 + ((insn & 0xc) >> 2)] = State.regs[REG_D0 + (insn & 0x3)];
State.regs[REG_A0 + (insn & 0x3)] = State.regs[REG_D0 + ((insn & 0xc) >> 3)];
}
/* mov am, dn */