summaryrefslogtreecommitdiff
path: root/src/liblink
diff options
context:
space:
mode:
Diffstat (limited to 'src/liblink')
-rw-r--r--src/liblink/asm6.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/liblink/asm6.c b/src/liblink/asm6.c
index 454b30239..3fc3e0128 100644
--- a/src/liblink/asm6.c
+++ b/src/liblink/asm6.c
@@ -3066,6 +3066,7 @@ found:
break;
case Zclr:
+ ctxt->rexflag &= ~Pw;
*ctxt->andptr++ = op;
asmand(ctxt, &p->to, &p->to);
break;