JCC instruction

JCC jump instruction

JCC refers conditional jump instructions, CC refers to the condition code.

JCC instruction Chinese meaning English intended Check the sign bit Typical applications C
JZ/JE If the jump is 0; jump if equal jump if zero;jump if equal ZF=1 if (i == j);if (i == 0);
JNZ/JNE If the jump is 0; jump if not equal jump if not zero;jump if not equal ZF=0 if (i != j);if (i != 0);
JS If it is negative jump jump if sign SF=1 if (i < 0);
JNS If you are a regular jump jump if not sign SF=0 if (i > 0);
JP/JPE If the appearance count is even jump jump if Parity (Even) PF=1 (null)
JNP/JPO If an odd number of occurrences Jump jump if not parity (odd) PF=0 (null)
JO If the overflow jump jump if overflow OF=1 (null)
JNO If there is no overflow jump jump if not overflow OF=0 (null)
JC/JB/JNAE If the carry jump; jump if below; jump if not equal than jump if carry;jump if below;jump if not above equal CF=1 if (i < j);
JNC/JNB/JAE If there is no carry jump; jump if below; if higher than or equal jump; jump if not carry;jump if not below;jump if above equal CF=0 if (i >= j);
JBE/JNA If less than equal to jump; jump if greater than jump if below equal;jump if not above ZF=1或CF=1 if (i <= j);
JNBE/JA If less than equal to jump; jump if greater than jump if not below equal;jump if above ZF=0或CF=0 if (i > j);
JL/JNGE If less than the jump; jump if greater than or equal jump if less;jump if not greater equal jump SF != OF if (si < sj);
JNL/JGE If less than the jump; jump if greater than or equal; jump if not less;jump if greater equal SF = OF if (si >= sj);
JLE/JNG If less jump; jump if greater than jump if less equal;jump if not greater ZF != OF 或 ZF=1 if (si <= sj);
JNLE/JG If less jump; jump if greater than jump if not less equal;jump if greater SF=0F 且 ZF=0 if(si>sj)

Guess you like

Origin www.cnblogs.com/songyaqi/p/12075038.html