aboutsummaryrefslogtreecommitdiffstats
path: root/src/x86_64/prelude.asm
diff options
context:
space:
mode:
Diffstat (limited to 'src/x86_64/prelude.asm')
-rw-r--r--src/x86_64/prelude.asm11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/x86_64/prelude.asm b/src/x86_64/prelude.asm
index c9ef823..05762b9 100644
--- a/src/x86_64/prelude.asm
+++ b/src/x86_64/prelude.asm
@@ -108,14 +108,9 @@ not_string:
108 108
109 ;; is fixnum? 109 ;; is fixnum?
110 mov rax, rdi 110 mov rax, rdi
111 and rax, FIXNUM_MASK
112 cmp rax, FIXNUM_TAG
113 jne display_end
111 call printdln 114 call printdln
112display_end: 115display_end:
113 ret 116 ret
114
115global _start
116_start:
117 ;; point `rdi` to the start of the heap.
118 mov r15, bdl_heap
119
120 ;; make sure the last element in the stack is the nil value.
121 push NIL_VAL