From 9b16f190492f26e065f13f19e51c4e2180a21143 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Fri, 15 Feb 2019 17:20:57 -0800 Subject: 4973 Support immediate operands in the data segment in all the ways we support them in the code segment. --- subx/061read-byte.subx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'subx/061read-byte.subx') diff --git a/subx/061read-byte.subx b/subx/061read-byte.subx index a915d436..d3192ce1 100644 --- a/subx/061read-byte.subx +++ b/subx/061read-byte.subx @@ -13,13 +13,13 @@ # buffered-file. Stdin: # file descriptor or (address stream) - 00 00 00 00 # 0 = standard input + 0/imm32 # standard input # 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 @@ -291,11 +291,11 @@ _test-buffered-file: # file descriptor or (address stream) _test-stream/imm32 # current write index - 00 00 00 00 + 0/imm32 # current read index - 00 00 00 00 - # length (6) - 06 00 00 00 + 0/imm32 + # length + 6/imm32 # data 00 00 00 00 00 00 # 6 bytes -- cgit 1.4.1-2-gfad0