diff --git a/jitfuck.asm b/jitfuck.asm index ad36565..8e7f00a 100644 --- a/jitfuck.asm +++ b/jitfuck.asm @@ -263,9 +263,7 @@ lbrac: mov rsi,.translation_end call write mov word ax,[chunks+r12+2] - mov byte [r14-7],al - shr rax,8 - mov byte [r14-6],al + mov word [r14-7],ax and r12,(not CHUNK_MASK) jmp execute.run .translation_start: @@ -283,9 +281,7 @@ rbrac: mov rsi,.translation_end call write mov word ax,[chunks+r12+2] - mov byte [r14-7],al - shr rax,8 - mov byte [r14-6],al + mov word [r14-7],ax and r12,(not CHUNK_MASK) jmp execute.run .translation_start: