JB branches to the address indicated by addr if the bit indicated by the bit_addr is set otherwise program execution continues with the next instruction.
Syntax : JB bit_addr,addr
Example : JB P1.3,krm
MOV A,R0
It will jump to krm if the P1.3 is set otherwise it will perform the next instruction MOV A,R0
Syntax : JB bit_addr,addr
Example : JB P1.3,krm
MOV A,R0
It will jump to krm if the P1.3 is set otherwise it will perform the next instruction MOV A,R0
- Instruction
- Opcode
- Bytes
- Flags
- JB bit_addr,addr
- 0x20
- 3
- None