diff options
author | Kartik Agaram <github@akkartik.com> | 2019-07-13 19:50:49 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-13 19:50:49 -0700 |
commit | c4aa819a5d651554b3a5cc52b67cac36889cada8 (patch) | |
tree | 328f7daeb3960d45cdbfa002f05fdc11617df0b4 /subx/055stream.subx | |
parent | cdf85518dfb364d816e0db1448e20bf30b2b65f9 (diff) | |
parent | 7f23be0107af59f37a948151eefe9c4d39ddf96e (diff) | |
download | mu-c4aa819a5d651554b3a5cc52b67cac36889cada8.tar.gz |
Merge pull request #34 from akkartik/survey
SubX in SubX: computing addresses for labels
Diffstat (limited to 'subx/055stream.subx')
-rw-r--r-- | subx/055stream.subx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subx/055stream.subx b/subx/055stream.subx index 92049634..f2969861 100644 --- a/subx/055stream.subx +++ b/subx/055stream.subx @@ -37,7 +37,7 @@ clear-stream: # f : (address stream) -> <void> $clear-stream:loop: # if (EAX >= ECX) break 39/compare 3/mod/direct 0/rm32/EAX . . . 1/r32/ECX . . # compare EAX with ECX - 7d/jump-if-greater-or-equal $clear-stream:end/disp8 + 73/jump-if-greater-or-equal-unsigned $clear-stream:end/disp8 # *EAX = 0 c6 0/subop/copy 0/mod/direct 0/rm32/EAX . . . . . 0/imm8 # copy byte to *EAX # ++EAX |