title: Assembly Language: difference between ja and jg?
body: <p>I am having trouble understanding the difference between ja and jg for assembly language. I have a section of code:</p>
  
  <pre><code>cmp  dh, dl
  j--  hit
  </code></pre>
  
  <p>and am asked which conditional jump to hit (that replaces j-- hit) will be taken with the hex value of DX = 0680.</p>
  
  <p>This would make dl = 06 and dh = 80, so when comparing, 80 > 06. I know that jg fits this as we can directly compare results, but how should I approach solving if ja fits (or in this case, does not fit) this code?</p>