aboutsummaryrefslogtreecommitdiff
path: root/sim/m32c/r8c.opc
diff options
context:
space:
mode:
Diffstat (limited to 'sim/m32c/r8c.opc')
-rw-r--r--sim/m32c/r8c.opc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/m32c/r8c.opc b/sim/m32c/r8c.opc
index abfc7b9..0e87464 100644
--- a/sim/m32c/r8c.opc
+++ b/sim/m32c/r8c.opc
@@ -475,11 +475,11 @@ decode_r8c()
/** 0111 1110 0101 srcx BNAND src */
- BIT_OPC (srcx, !b & carry);
+ BIT_OPC (srcx, (!b) & carry);
/** 0111 1110 0111 srcx BNOR src */
- BIT_OPC (srcx, !b | carry);
+ BIT_OPC (srcx, (!b) | carry);
/** 0111 1110 1010 dest BNOT:G dest */