Email: Password: Remember Me | Create Account (Free)
8051/8052 Instruction: JB

Operation:JB
Function:Jump if Bit Set
Syntax:JB bit addr, reladdr

InstructionsOpCodeBytesCyclesFlags
JB bit addr,reladdr0x2032None


Description: JB branches to the address indicated by reladdr if the bit indicated by bit addr is set. If the bit is not set program execution continues with the instruction following the JB instruction.

See Also: JBC, JNB. Instruction Set