Jumps Based on Unsigned Comparisons The table on the right shows a list of jumps based on comparisons of unsigned integers. |
|
Jumps Based on Signed Comparisons The table on the right shows a list of jumps based on comparisons of signed integers. |
|
jecxz |
ja |
jg |
---|---|---|
.code mov eax, 0 mov ecx, 10 L1: add eax, ecx dec ecx jecxz L2 jmp L1 L2: call WriteDec |
.code mov al, -128 cmp al, 1 ja L1 call WaitMsg L1: |
.code mov al, -128 cmp al, 1 jg L1 call WaitMsg L1: |
Output | Output | Output |