aboutsummaryrefslogtreecommitdiff
path: root/sim/mn10300/simops.c
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1998-02-28 01:41:28 +0000
committerJeff Law <law@redhat.com>1998-02-28 01:41:28 +0000
commit3406569f7f1641a4e329c2229c703c2f1d699cf0 (patch)
treee057368a79974ef0bfc8b32df7c6b8727674c637 /sim/mn10300/simops.c
parent8accf4df143ea0b02a2a92869a52cdd0f29b02ef (diff)
downloadgdb-3406569f7f1641a4e329c2229c703c2f1d699cf0.zip
gdb-3406569f7f1641a4e329c2229c703c2f1d699cf0.tar.gz
gdb-3406569f7f1641a4e329c2229c703c2f1d699cf0.tar.bz2
* simops.c (inc): Fix typo.
Diffstat (limited to 'sim/mn10300/simops.c')
-rw-r--r--sim/mn10300/simops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/mn10300/simops.c b/sim/mn10300/simops.c
index 6425e49..c6b1448 100644
--- a/sim/mn10300/simops.c
+++ b/sim/mn10300/simops.c
@@ -1512,7 +1512,7 @@ void OP_40 (insn, extension)
z = (value == 0);
n = (value & 0x80000000);
- c = (reg1 < imm);
+ c = (value < imm);
v = ((reg1 & 0x80000000) == (imm & 0x80000000)
&& (reg1 & 0x80000000) != (value & 0x80000000));