Assembler


         

CMP


 
CMP BX
AX, .
, ,
. , JNZ (,
) JNE (, ). JP
( ) - , JPE (
); JNP ( ) -
, JPO ( ).


ࠠ OF CY Z P S
-------------------------------------------------------------------
JE/JZ X X 1 X X
JP/JPE X X X 1 X
JO 1 X X X X
JS X X X X 1
JNE/JNZ X X 0 X X
JNP/JPO X X X 0 X
JNO 0 X X X X
JNS X X X X 0
(a)
 
JL/JNGE a X X X b a NEQ b
JLE/JNG a X 1 X b Z OR (A NEQ B)
JNL/JGE a X X X b a = b
JNLE/JG a X 0 X b (NOT Z) AND (a=b)
(b)
 
JB/JNAE/JC X 1 X X X
JBE/JNA X 1 1 X X CY OR Z
JNB/JAE/JN X 0 X X X
JNBE/JA X 0 0 X X (NOT CY) AND (NOT Z)
(c)
------------------------------------------------------------------
 
. 4.29 . (a)
(b) ; (c) .
 
.4.29
.