diff options
Diffstat (limited to 'src/x86_64/prelude.asm')
-rw-r--r-- | src/x86_64/prelude.asm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/x86_64/prelude.asm b/src/x86_64/prelude.asm index e57e820..3ad33f7 100644 --- a/src/x86_64/prelude.asm +++ b/src/x86_64/prelude.asm | |||
@@ -82,7 +82,7 @@ display: | |||
82 | cmp rax, NIL_VAL | 82 | cmp rax, NIL_VAL |
83 | je display_end | 83 | je display_end |
84 | 84 | ||
85 | ; ;; is boolean? | 85 | ;; is boolean? |
86 | mov rax, rdi | 86 | mov rax, rdi |
87 | and rax, BOOL_MASK | 87 | and rax, BOOL_MASK |
88 | cmp rax, BOOL_TAG | 88 | cmp rax, BOOL_TAG |
@@ -100,7 +100,7 @@ display_end: | |||
100 | global _start | 100 | global _start |
101 | _start: | 101 | _start: |
102 | ;; point `rdi` to the start of the heap. | 102 | ;; point `rdi` to the start of the heap. |
103 | mov rsi, bdl_heap | 103 | mov r15, bdl_heap |
104 | 104 | ||
105 | ;; make sure the last element in the stack is the nil value. | 105 | ;; make sure the last element in the stack is the nil value. |
106 | push NIL_VAL | 106 | push NIL_VAL |