aboutsummaryrefslogtreecommitdiff
path: root/asm.peg
diff options
context:
space:
mode:
authorAndrew Chambers <[email protected]>2021-10-11 11:42:20 +1300
committerAndrew Chambers <[email protected]>2021-10-11 11:42:20 +1300
commitfb0ac681dd8d271799c6652b1e581572cf68a9c3 (patch)
treeb960df315437e86ddeaa3ed1780c43edc77a4cb9 /asm.peg
parenteb7790fa6db6b15ac1867256369ac524cf9ce622 (diff)
Bug fixes.
Diffstat (limited to 'asm.peg')
-rw-r--r--asm.peg2
1 files changed, 1 insertions, 1 deletions
diff --git a/asm.peg b/asm.peg
index 6bd3553..742da11 100644
--- a/asm.peg
+++ b/asm.peg
@@ -249,7 +249,7 @@ mov = "mov" (
movsx = "movs" (
args:mov-extend-opargs { $$ = args; }
| 'lq' ws s:m ws? ',' ws? d:r64 { $$ = INSTR2(10, s, d); }
- | 'lq' ws s:r32 ws? ',' ws? d:r64 { $$ = INSTR2(10, s, d); }
+ | 'lq' ws s:r32 ws? ',' ws? d:r64 { $$ = INSTR2(11, s, d); }
) { $$.instr.kind = ASM_MOVSX; }
movzx = "movz" args:mov-extend-opargs { $$ = args; $$.instr.kind = ASM_MOVZX; }