aboutsummaryrefslogtreecommitdiff
path: root/sim/h8300/compile.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2003-02-01 03:00:14 +0000
committerKazu Hirata <kazu@codesourcery.com>2003-02-01 03:00:14 +0000
commitad4cda162bffa0598963013e44a2ba1f2648581c (patch)
treea04325f9265a2c109ae241ff97cb4514f8807ae2 /sim/h8300/compile.c
parent539559676b793027458a4abeed447866d4dc9f6f (diff)
downloadgdb-ad4cda162bffa0598963013e44a2ba1f2648581c.zip
gdb-ad4cda162bffa0598963013e44a2ba1f2648581c.tar.gz
gdb-ad4cda162bffa0598963013e44a2ba1f2648581c.tar.bz2
* compile.c (sim_resume): Fix the handling of bxor.
Diffstat (limited to 'sim/h8300/compile.c')
-rw-r--r--sim/h8300/compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/h8300/compile.c b/sim/h8300/compile.c
index e36a0ed..e845899 100644
--- a/sim/h8300/compile.c
+++ b/sim/h8300/compile.c
@@ -1505,7 +1505,7 @@ sim_resume (SIM_DESC sd, int step, int siggnal)
OBITOP (O_BIAND, 1, 0, c = !(ea & m) && C);
OBITOP (O_BOR, 1, 0, c = (ea & m) || C);
OBITOP (O_BIOR, 1, 0, c = !(ea & m) || C);
- OBITOP (O_BXOR, 1, 0, c = (ea & m) != C);
+ OBITOP (O_BXOR, 1, 0, c = ((ea & m) != 0) != C);
OBITOP (O_BIXOR, 1, 0, c = !(ea & m) != C);
#define MOP(bsize, signed) \