cmp val1, val2

Identical to x86 sub. Compares if val1 < val2

  • ZF is set if val1 = val2
  • CF is set if val1 < val2