Jump if Below                                

86/88

Y

186

Y

286

Y

386

Y

486

Y

JB short_label

Ovfl

N

Dir

N

Int

N

Trap

N

Sign

N

Zero

N

Aux

N

Prty

N

Carry

N

    Used after a CMP or SUB instruction, JB transfers control to short-
    label if the first operand was less than the second.  (Both operands
    are treated as unsigned numbers.)  The target of the jump must be
    within -128 to +127 bytes of the next instruction.

       Notes:         JC (Jump if Carry), JB, and JNAE (Jump if Not Above
                      or Equal), are all synonyms for the same
                      instruction.

                      JB, Jump if Below, should be used when comparing
                      unsigned numbers.

                      JL, Jump if Less Than, should be used when comparing
                      signed numbers.

------------------------------------ Timing ----------------------------------

OpCode          Instruction             	386     286     86
72 cb           JB rel8                         7+m,3   7,3     16,4
0F 82 cw/cd     JB rel16/32                     7+m,3

------------------------------------ Logic -----------------------------------

        Jump if (CF = 1)

See Also JNAE JC JL JAE JNGE


Copyright © 1985 to 2022 Beta Systems                            Last modified: Wednesday, January 05, 2022 .