about summary refs log tree commit diff stats
path: root/subx/064write-byte.subx
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-02-15 17:20:57 -0800
committerKartik Agaram <vc@akkartik.com>2019-02-15 17:20:57 -0800
commit9b16f190492f26e065f13f19e51c4e2180a21143 (patch)
tree7f29f176beba335f42a8ecab60f049bcf880db8c /subx/064write-byte.subx
parent5522bc9ec5ee5074ac5b573b66cbec8cd93ccae5 (diff)
downloadmu-9b16f190492f26e065f13f19e51c4e2180a21143.tar.gz
4973
Support immediate operands in the data segment in all the ways we support
them in the code segment.
Diffstat (limited to 'subx/064write-byte.subx')
-rw-r--r--subx/064write-byte.subx10
1 files changed, 5 insertions, 5 deletions
diff --git a/subx/064write-byte.subx b/subx/064write-byte.subx
index 1d14b06b..61ed4197 100644
--- a/subx/064write-byte.subx
+++ b/subx/064write-byte.subx
@@ -9,13 +9,13 @@
 # The buffered file for standard output.
 Stdout:
     # file descriptor or (address stream)
-    01 00 00 00  # 1 = standard output
+    1/imm32  # standard output
     # current write index
-    00 00 00 00
+    0/imm32
     # current read index
-    00 00 00 00
-    # length (8)
-    08 00 00 00
+    0/imm32
+    # length
+    8/imm32
     # data
     00 00 00 00 00 00 00 00  # 8 bytes