aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md3
-rw-r--r--print.s11
2 files changed, 14 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..6566c96
--- /dev/null
+++ b/README.md
@@ -0,0 +1,3 @@
+# LISP and beyond from bare metal
+
+It's `eval`s all the way up
diff --git a/print.s b/print.s
new file mode 100644
index 0000000..f84ca70
--- /dev/null
+++ b/print.s
@@ -0,0 +1,11 @@
+ MOV R1, -(SP)
+ BR 20$
+10$:
+ TSTB @#177564
+ BEQ 10$
+ MOVB R1, @#177566
+20$:
+ MOVB (R0)+, R1
+ BNE 10$
+ MOV (SP)+, R1
+ RTS PC