about summary refs log tree commit diff stats
path: root/067parse-hex.subx
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-10-25 05:54:06 -0700
committerKartik Agaram <vc@akkartik.com>2019-10-25 06:10:36 -0700
commitf0b7e327c5e612ea2f72f2e41c046a2105076654 (patch)
treeb598dfdfb31a748634302b6f336aebd356fe372d /067parse-hex.subx
parent76599bb813970f09ddd27d476f5b62be9bf97d4d (diff)
downloadmu-f0b7e327c5e612ea2f72f2e41c046a2105076654.tar.gz
5714
Replace calculations of constants with labels.
Diffstat (limited to '067parse-hex.subx')
-rw-r--r--067parse-hex.subx6
1 files changed, 2 insertions, 4 deletions
diff --git a/067parse-hex.subx b/067parse-hex.subx
index 3707e40b..2ba3c740 100644
--- a/067parse-hex.subx
+++ b/067parse-hex.subx
@@ -829,13 +829,11 @@ $from-hex-char:abort:
     e8/call  _write/disp32
     # . . discard args
     81          0/subop/add         3/mod/direct    4/rm32/esp    .           .             .           .           .               8/imm32           # add to esp
-    # . clear-stream(Stderr+4)
+    # . clear-stream(Stderr->buffer)
     # . . save eax
     50/push-eax
     # . . push args
-    b8/copy-to-eax  Stderr/imm32
-    05/add-to-eax  4/imm32
-    50/push-eax
+    68/push  Stderr->buffer/imm32
     # . . call
     e8/call  clear-stream/disp32
     # . . discard args