In GNU assembly, I don’t understand behaviour of SCASW instruction, for example: SCASW JA major 1-Program jumps to “major" label when AX > (%EDI) ? 2-Source operand is AX while Destination operand is (%EDI) ? 3-SCASW works in opposite way to CMP, that is CMP calculates DST-SRC while SCAN calculates SRC_DST, It’s OK ? Thanks