about summary refs log tree commit diff stats
path: root/new.mu
diff options
context:
space:
mode:
Diffstat (limited to 'new.mu')
-rw-r--r--new.mu14
1 files changed, 0 insertions, 14 deletions
diff --git a/new.mu b/new.mu
deleted file mode 100644
index 04cfbbed..00000000
--- a/new.mu
+++ /dev/null
@@ -1,14 +0,0 @@
-; memory map: 1-1000 reserved for the (currently non-reentrant) allocator
-(main
-  ((1 integer) <- literal 1000)  ; location 1 contains the high-water mark for the memory allocator
-  ((4 integer-address) <- new)
-  ((5 integer) <- copy (4 integer-address deref))
-)
-
-(new
-  ((2 integer-address) <- copy (1 integer))
-  ((3 integer) <- literal 1)
-  ((1 integer) <- add (1 integer) (3 integer))
-  (reply (2 integer-address)))
-
-;; vim:ft=scheme