Use unaligned word write in lbrac and rbrac

Apparently x86_64 is chill like that.
This commit is contained in:
2026-03-12 18:42:41 +00:00
parent da6a1069c7
commit aadda2f953

View File

@@ -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: