about summary refs log tree commit diff stats
path: root/baremetal
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-02-26 21:26:09 -0800
committerKartik K. Agaram <vc@akkartik.com>2021-02-26 21:26:09 -0800
commita65ea6e4a70212b42d25307b06a2c986dce35bc4 (patch)
treeefcbf27f7e02c271525e9c3311bfbb1061349125 /baremetal
parentf4bf14b33889a0e6a15fbf76c3b64d49ec904efc (diff)
downloadmu-a65ea6e4a70212b42d25307b06a2c986dce35bc4.tar.gz
7808
Diffstat (limited to 'baremetal')
-rw-r--r--baremetal/shell/read.mu5
1 files changed, 5 insertions, 0 deletions
diff --git a/baremetal/shell/read.mu b/baremetal/shell/read.mu
index a1cb95bf..96ea958f 100644
--- a/baremetal/shell/read.mu
+++ b/baremetal/shell/read.mu
@@ -93,6 +93,11 @@ fn next-symbol-token in: (addr gap-buffer), out: (addr stream byte), trace: (add
     loop
   }
   trace-higher trace
+  var stream-storage: (stream byte 0x40)
+  var stream/esi: (addr stream byte) <- address stream-storage
+  write stream, "=> "
+  write-stream stream, out
+  trace trace, "read", stream
 }
 
 fn next-number-token in: (addr gap-buffer), out: (addr stream byte), trace: (addr trace) {