aboutsummaryrefslogtreecommitdiff
path: root/liblang.asm
diff options
context:
space:
mode:
Diffstat (limited to 'liblang.asm')
-rw-r--r--liblang.asm3
1 files changed, 2 insertions, 1 deletions
diff --git a/liblang.asm b/liblang.asm
index 9cd905c..8502d55 100644
--- a/liblang.asm
+++ b/liblang.asm
@@ -158,7 +158,8 @@ getc:
syscall
cmp rax, 1
jne .fail
- mov rax, [rsp]
+ xor eax, eax
+ mov al, [rsp]
.finish:
pop r11
pop rcx