about summary refs log tree commit diff stats
path: root/078emit-hex.subx
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-12-05 22:57:51 -0800
committerKartik Agaram <vc@akkartik.com>2019-12-05 22:57:51 -0800
commit686a52bd2ef94fb6a2f255e59b17d9e71f719918 (patch)
tree5ff66558e54a98b5738ea4b7111137f508a06bf5 /078emit-hex.subx
parent714d6e15ba096e47253905eb63bf4066f72cf46f (diff)
downloadmu-686a52bd2ef94fb6a2f255e59b17d9e71f719918.tar.gz
5790
Standardize conventions for labels within objects in the data segment.

We're going to use this in a new tool.
Diffstat (limited to '078emit-hex.subx')
-rw-r--r--078emit-hex.subx16
1 files changed, 8 insertions, 8 deletions
diff --git a/078emit-hex.subx b/078emit-hex.subx
index 79a599db..2c642481 100644
--- a/078emit-hex.subx
+++ b/078emit-hex.subx
@@ -69,9 +69,9 @@ test-emit-hex-single-byte:
     e8/call  clear-stream/disp32
     # . . discard args
     81          0/subop/add         3/mod/direct    4/rm32/esp    .           .             .           .           .               4/imm32           # add to esp
-    # . clear-stream(_test-output-buffered-file->buffer)
+    # . clear-stream($_test-output-buffered-file->buffer)
     # . . push args
-    68/push  _test-output-buffered-file->buffer/imm32
+    68/push  $_test-output-buffered-file->buffer/imm32
     # . . call
     e8/call  clear-stream/disp32
     # . . discard args
@@ -115,9 +115,9 @@ test-emit-hex-multiple-byte:
     e8/call  clear-stream/disp32
     # . . discard args
     81          0/subop/add         3/mod/direct    4/rm32/esp    .           .             .           .           .               4/imm32           # add to esp
-    # . clear-stream(_test-output-buffered-file->buffer)
+    # . clear-stream($_test-output-buffered-file->buffer)
     # . . push args
-    68/push  _test-output-buffered-file->buffer/imm32
+    68/push  $_test-output-buffered-file->buffer/imm32
     # . . call
     e8/call  clear-stream/disp32
     # . . discard args
@@ -159,9 +159,9 @@ test-emit-hex-zero-pad:
     e8/call  clear-stream/disp32
     # . . discard args
     81          0/subop/add         3/mod/direct    4/rm32/esp    .           .             .           .           .               4/imm32           # add to esp
-    # . clear-stream(_test-output-buffered-file->buffer)
+    # . clear-stream($_test-output-buffered-file->buffer)
     # . . push args
-    68/push  _test-output-buffered-file->buffer/imm32
+    68/push  $_test-output-buffered-file->buffer/imm32
     # . . call
     e8/call  clear-stream/disp32
     # . . discard args
@@ -203,9 +203,9 @@ test-emit-hex-negative:
     e8/call  clear-stream/disp32
     # . . discard args
     81          0/subop/add         3/mod/direct    4/rm32/esp    .           .             .           .           .               4/imm32           # add to esp
-    # . clear-stream(_test-output-buffered-file->buffer)
+    # . clear-stream($_test-output-buffered-file->buffer)
     # . . push args
-    68/push  _test-output-buffered-file->buffer/imm32
+    68/push  $_test-output-buffered-file->buffer/imm32
     # . . call
     e8/call  clear-stream/disp32
     # . . discard args