diff options
| author | Andrew Chambers <[email protected]> | 2021-10-14 14:37:37 +1300 |
|---|---|---|
| committer | Andrew Chambers <[email protected]> | 2021-10-14 14:37:37 +1300 |
| commit | 1de295e1499d2fa5fc4bfa80b5edc6d3dbed7350 (patch) | |
| tree | 691f8ed3b784287cce6de1ad400aaba122420387 /asm.peg | |
| parent | 819bbdd85a9950d428db00934849ee5a900c347b (diff) | |
Handle 64 bit immediates.
Diffstat (limited to 'asm.peg')
| -rw-r--r-- | asm.peg | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -382,7 +382,7 @@ mov = "mov" ( | 'b'? ws s:imm8 ws? ',' ws? d:r8 { $$ = INSTR2(16, s, d); } | 'w'? ws s:imm16 ws? ',' ws? d:r16 { $$ = INSTR2(17, s, d); } | 'l'? ws s:imm32 ws? ',' ws? d:r32 { $$ = INSTR2(18, s, d); } - | 'q'? ws s:imm32 ws? ',' ws? d:r64 { $$ = INSTR2(19, s, d); } + | 'q'? ws s:imm ws? ',' ws? d:r64 { $$ = INSTR2(19, s, d); } ) { $$.instr.kind = ASM_MOV; } movsx = "movs" ( |
