汇编指令

Jnz   两数不等,跳

Je     两数相等,跳

je:(ZF)=1,则控制转移
jne:(ZF)=0,则控制转移

test eax,eax     eax做与运算,判断是否为0,。(1 and 1=1,1 and 0=0)    不为0,zf=0;为0,zf=1

cmp exa,ecx              相等 z=1;不等z=0

原文地址:https://www.cnblogs.com/erph/p/7276962.html