"GT" is greater than and "HI" is higher than. I think both have the same meaning.The instruction Set Image
HI instruction takes its operands as unsigned so basically it uses C and Z flag for its operation On the other hand GT or GE takes operands as signed numbers and uses flags N(negative) and V(overflow). Both GE and GT are same but GE accepts a cleared Z flag, too. So if you are using unsigned numbers then both will produce same output.
Signed vs unsigned comparison
GT Signed greater than
HI Unsigned higher
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With