JNB branches to the address indicated by addr if bit indicated in the instruction is not set or it is 0 otherwise program execution continues with the next instruction.
Syntax : JNB bit_addr,addr
Example : JNB P1.3,krm
MOV A,R0
It will jump to krm if the pin no.3 of PORT 1 is not set otherwise it will perform the next instruction MOV A,R0.
Syntax : JNB bit_addr,addr
Example : JNB P1.3,krm
MOV A,R0
It will jump to krm if the pin no.3 of PORT 1 is not set otherwise it will perform the next instruction MOV A,R0.
- Instruction
- Opcode
- Bytes
- Flags
- JNB bit_addr,addr
- 0x30
- 3
- None