[<<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
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson