aboutsummaryrefslogtreecommitdiff
path: root/include/listops.s
diff options
context:
space:
mode:
authorMirek Kratochvil <exa.exa@gmail.com>2023-10-31 00:12:51 +0100
committerMirek Kratochvil <exa.exa@gmail.com>2023-10-31 00:12:51 +0100
commit2bc3d9a3815a6cd172b3b4f7696c46a006021b13 (patch)
treebd77783f22f010976af6176336bfc4977987eac7 /include/listops.s
parent8504d72bda94c3a1668ebbdd262ae8a4963a23c1 (diff)
downloaduskel-2bc3d9a3815a6cd172b3b4f7696c46a006021b13.tar.gz
uskel-2bc3d9a3815a6cd172b3b4f7696c46a006021b13.tar.bz2
gc kinda almost there
Diffstat (limited to 'include/listops.s')
-rw-r--r--include/listops.s2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/listops.s b/include/listops.s
index 447c125..0ee39ad 100644
--- a/include/listops.s
+++ b/include/listops.s
@@ -6,6 +6,8 @@ _listops_s_file:
# | n | list | -> cont
.primop2 list_int_index
+ needs_alloc $060
+
mov 010(%rsi), %rdx # the list constructor id, must be 1
cmp $1, %rdx
jne list_int_index_not_found