From 26efb5f5c2a3ddbaf82f06e6ca6090caf7ab5a16 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Mon, 3 Dec 2018 11:42:04 -0800 Subject: 4823 --- subx/059read-byte.subx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'subx/059read-byte.subx') 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: -- cgit 1.4.1-2-gfad0