본문 바로가기

reversing

assembly jump instruction

 

 명령어

 부등호

플래그 조건 

JA(jump if(unsigned) above) 

 >

CF=0 and ZF=0 

JAE(jump if(unsigned) above or eaul)

 >=

CF=0 or ZF=1

JB(jump if(unsigned) below

 <

CF=1

JBE(jump if(unsigned) below or equal

 <=

CF=1 or ZF=1 

JC(jump if carry flag set)

 

CF=1

JCXZ(jump if CX is 0)

 

CX=0

JE(jump if equal)

 ==

ZF=1 

JECXZ(jump if ECX is 0)

 

ECX=0

JG(jump if(signed) greater)

 >

ZF=0 and SF=0

JZ(jump if zero)

 ==

ZF=1(ZF가 1로 셋팅되었을 때) 

JL(jump if(signed) less)

 <

SF!=OF

JGE(jump if(signed) greater or equal)

 >=

SF=OF

JLE(jump if(signed) less or equal)

 <=

ZF=1 and OF!=OF

 

'reversing' 카테고리의 다른 글

windbg kernel debugging  (0) 2016.01.31
BSWAP instruction  (0) 2016.01.19
프롤로그(prolog), 에필로그(epilog)  (0) 2016.01.03
IsDebuggerPresent() 우회  (0) 2015.12.23
Intel Architecture 32bit Register  (0) 2015.12.19