diff options
author | Kartik Agaram <vc@akkartik.com> | 2019-10-25 05:54:06 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2019-10-25 06:10:36 -0700 |
commit | f0b7e327c5e612ea2f72f2e41c046a2105076654 (patch) | |
tree | b598dfdfb31a748634302b6f336aebd356fe372d /084emit-hex-array.subx | |
parent | 76599bb813970f09ddd27d476f5b62be9bf97d4d (diff) | |
download | mu-f0b7e327c5e612ea2f72f2e41c046a2105076654.tar.gz |
5714
Replace calculations of constants with labels.
Diffstat (limited to '084emit-hex-array.subx')
-rw-r--r-- | 084emit-hex-array.subx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/084emit-hex-array.subx b/084emit-hex-array.subx index 892c7318..edc509df 100644 --- a/084emit-hex-array.subx +++ b/084emit-hex-array.subx @@ -64,11 +64,9 @@ test-emit-hex-array: 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+4) + # . clear-stream(_test-output-buffered-file->buffer) # . . push args - b8/copy-to-eax _test-output-buffered-file/imm32 - 05/add-to-eax 4/imm32 - 50/push-eax + 68/push _test-output-buffered-file->buffer/imm32 # . . call e8/call clear-stream/disp32 # . . discard args |