projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6db7fc4
)
* simops.c: Fix "mov am, dn".
author
Jeff Law
<law@redhat.com>
Mon, 2 Dec 1996 04:23:37 +0000
(
04:23
+0000)
committer
Jeff Law
<law@redhat.com>
Mon, 2 Dec 1996 04:23:37 +0000
(
04:23
+0000)
Fixes more c-torture problems.
sim/mn10300/ChangeLog
patch
|
blob
|
history
sim/mn10300/simops.c
patch
|
blob
|
history
diff --git
a/sim/mn10300/ChangeLog
b/sim/mn10300/ChangeLog
index c3f3e375a1d40131aad76b8ca3e907921984eb1c..cd5d1fb1fe974595ca9decb6d29046aebed41976 100644
(file)
--- a/
sim/mn10300/ChangeLog
+++ b/
sim/mn10300/ChangeLog
@@
-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".
diff --git
a/sim/mn10300/simops.c
b/sim/mn10300/simops.c
index e2f1ffded06616ab1c1500ad584d59822c8b286b..b4e30143abccd76423d012ca10989bda3c29fc49 100644
(file)
--- a/
sim/mn10300/simops.c
+++ b/
sim/mn10300/simops.c
@@
-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 & 0x
3)];
+ State.regs[REG_A0 + (
insn & 0x3)] = State.regs[REG_D0 + ((insn & 0xc) >>
3)];
}
/* mov am, dn */