about summary refs log tree commit diff stats
path: root/subx/059read-byte.subx
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2018-12-03 11:42:04 -0800
committerKartik Agaram <vc@akkartik.com>2018-12-03 11:42:04 -0800
commit26efb5f5c2a3ddbaf82f06e6ca6090caf7ab5a16 (patch)
tree5f7883b01cc3051cc436937310664bb6b1387ef2 /subx/059read-byte.subx
parent1eb9cc5679ed70dd2e4eceab8f3a547c8560aeba (diff)
downloadmu-26efb5f5c2a3ddbaf82f06e6ca6090caf7ab5a16.tar.gz
4823
Diffstat (limited to 'subx/059read-byte.subx')
-rw-r--r--subx/059read-byte.subx6
1 files changed, 2 insertions, 4 deletions
diff --git a/subx/059read-byte.subx b/subx/059read-byte.subx
index 7dd9658e..07958a63 100644
--- a/subx/059read-byte.subx
+++ b/subx/059read-byte.subx
@@ -24,7 +24,8 @@ Stdin:
     # data
     00 00 00 00 00 00 00 00  # 8 bytes
 
-# TODO: 8 bytes is too small. We'll need to grow the buffer for efficiency.
+# TODO: 8 bytes is too small. We'll need to grow the buffer for efficiency. But
+# I don't want to type 1024 bytes here.
 
 == code
 #   instruction                     effective address                                                   register    displacement    immediate
@@ -93,9 +94,6 @@ $read-byte:end:
     5d/pop-to-EBP
     c3/return
 
-# todo: how should write-byte look? What should it do when the output has no
-# space remaining? Maybe return an error code.
-
 # - tests
 
 test-read-byte-single: