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 /084emit-hex-array.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 '084emit-hex-array.subx')
-rw-r--r-- | 084emit-hex-array.subx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/084emit-hex-array.subx b/084emit-hex-array.subx index 8560795a..c56a6de0 100644 --- a/084emit-hex-array.subx +++ b/084emit-hex-array.subx @@ -27,7 +27,7 @@ emit-hex-array: # out : (addr buffered-file), arr : (addr array byte) $emit-hex-array:loop: # if (curr >= width) break 39/compare 3/mod/direct 1/rm32/ecx . . . 2/r32/edx . . # compare ecx with edx - 73/jump-if-greater-or-equal-unsigned $emit-hex-array:end/disp8 + 73/jump-if-addr>= $emit-hex-array:end/disp8 # emit-hex(out, c = *curr, width=1) # . . push args 68/push 1/imm32/width |