summaryrefslogtreecommitdiff
path: root/target-sh4
diff options
context:
space:
mode:
Diffstat (limited to 'target-sh4')
-rw-r--r--target-sh4/op.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-sh4/op.c b/target-sh4/op.c
index 4dc7193e19..22d49138fb 100644
--- a/target-sh4/op.c
+++ b/target-sh4/op.c
@@ -594,7 +594,7 @@ void OPPROTO op_shlr16_Rn(void)
void OPPROTO op_tasb_rN(void)
{
- cond_t((env->gregs[PARAM1] && 0xff) == 0);
+ cond_t((env->gregs[PARAM1] & 0xff) == 0);
*(int8_t *) &env->gregs[PARAM1] |= 0x80;
RETURN();
}