cmp instruction and conditional jumps

Reply

Join Date: Mar 2008
Posts: 9
Reputation: os.hacker64 is an unknown quantity at this point 
Solved Threads: 0
os.hacker64 os.hacker64 is offline Offline
Newbie Poster

cmp instruction and conditional jumps

 
0
  #1
Mar 22nd, 2008
When you do something like

  1. cmp eax,ebx
  2. ja start;jump if above
  3. start:

Jump if above jumps if eax is greater or if ebx is greater?
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 23
Reputation: low_coder is an unknown quantity at this point 
Solved Threads: 2
low_coder low_coder is offline Offline
Newbie Poster

Re: cmp instruction and conditional jumps

 
0
  #2
Dec 7th, 2008
; hi.
; it will jump if eax is greater.
; "jg" is the opposite
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the Assembly Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC