diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-01-16 18:31:12 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-01-16 18:31:12 -0800 |
commit | 6070c23e5e1c60d3bb169e43bddfa59b1d322427 (patch) | |
tree | 9a70e378c33c15e4779cf94abda8f37c35a5d1da /078emit-hex.subx | |
parent | 5a6601aba973ba1d1ef30b7b64438c25623b89c5 (diff) | |
download | mu-6070c23e5e1c60d3bb169e43bddfa59b1d322427.tar.gz |
5897 - rename comparison instructions
Signed and unsigned don't quite capture the essence of what the different combinations of x86 flags are doing for SubX. The crucial distinction is that one set of comparison operators is for integers and the second is for addresses.
Diffstat (limited to '078emit-hex.subx')
-rw-r--r-- | 078emit-hex.subx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/078emit-hex.subx b/078emit-hex.subx index bc052642..b3fc39a1 100644 --- a/078emit-hex.subx +++ b/078emit-hex.subx @@ -25,7 +25,7 @@ emit-hex: # out : (addr buffered-file), n : int, width : int $emit-hex:loop: # if (curr >= width) break 39/compare 3/mod/direct 1/rm32/ecx . . . 2/r32/edx . . # compare ecx with edx - 7d/jump-if-greater-or-equal $emit-hex:end/disp8 + 7d/jump-if->= $emit-hex:end/disp8 # print-byte-buffered(out, ebx) # only BL used # . . push args 53/push-ebx |