Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- TASM 2.x / MASM 6.x Assembly Language - <b>ja jump if above flags: not altered</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
JA               Jump If Above                       Flags: not altered

JA short-label

          Jump Condition:   Jump if CF = 0 and ZF = 0

    Used after a CMP or SUB instruction, JA transfers control to short-
    label if the first operand (which should be unsigned) was greater than
    the second operand (also unsigned). The target of the jump must be
    within -128 to +127 bytes of the next instruction.

  --------------------------------------------------------------------------
   Operands                  Clocks   Transfers  Bytes   Example
   short-label              16 or 4       -        2     JA ABOVE
  --------------------------------------------------------------------------

       Notes:         JNBE, Jump Not Below or Equal, is the same
                      instruction as JA.

                      JA, Jump on Above, should be used when comparing
                      unsigned numbers.

                      JG, Jump on Greater, should be used when comparing
                      signed numbers.

See Also: JNBE JAE JG JBE

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson