summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandromeda <andromeda@lenovo>2026-04-04 09:50:40 +0200
committerandromeda <andromeda@lenovo>2026-04-04 09:50:40 +0200
commitdf8e04ce63423d5ead4732a0887f449baf496d21 (patch)
treeb42f108b4cd3e3513315967748ce80b5dd1ead00
parenta8bf6749b8e8b974a09972001c142a74819d848c (diff)
mask smth
-rw-r--r--twasm/asm/main.asm1
1 files changed, 1 insertions, 0 deletions
diff --git a/twasm/asm/main.asm b/twasm/asm/main.asm
index 239e0d5..c371189 100644
--- a/twasm/asm/main.asm
+++ b/twasm/asm/main.asm
@@ -1302,6 +1302,7 @@ get_opcode:
.found:
shl eax, 4
mov dl, [esi + 8 + opcodes.by_id + eax]
+ and edx, 0xFF
mov al, [esi + 2 + opcodes.by_id + eax]
and eax, 0xFF
ret