about summary refs log tree commit diff stats
path: root/081table.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 /081table.subx
parent76599bb813970f09ddd27d476f5b62be9bf97d4d (diff)
downloadmu-f0b7e327c5e612ea2f72f2e41c046a2105076654.tar.gz
5714
Replace calculations of constants with labels.
Diffstat (limited to '081table.subx')
-rw-r--r--081table.subx12
1 files changed, 4 insertions, 8 deletions
diff --git a/081table.subx b/081table.subx
index 3cc3dbf3..ee63c054 100644
--- a/081table.subx
+++ b/081table.subx
@@ -1043,11 +1043,9 @@ test-get-or-stop:
     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-error-buffered-file+4)
+    # . clear-stream(_test-error-buffered-file->buffer)
     # . . push args
-    b8/copy-to-eax  _test-error-buffered-file/imm32
-    05/add-to-eax  4/imm32
-    50/push-eax
+    68/push  _test-error-buffered-file->buffer/imm32
     # . . call
     e8/call  clear-stream/disp32
     # . . discard args
@@ -1261,11 +1259,9 @@ test-get-slice-or-stop:
     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-error-buffered-file+4)
+    # . clear-stream(_test-error-buffered-file->buffer)
     # . . push args
-    b8/copy-to-eax  _test-error-buffered-file/imm32
-    05/add-to-eax  4/imm32
-    50/push-eax
+    68/push  _test-error-buffered-file->buffer/imm32
     # . . call
     e8/call  clear-stream/disp32
     # . . discard args