Table of Contents Previous topic Next topic
MICROPROCESSOR INSTRUCTION REFERENCE->JBC
JBC Jump if Bit Set and Clear Bit
Control passes to the specified address if the specified bit is set. In any case clear the specified bit.
When this instruction is used to test an output pin, the value used as the original data will be read from the output data latch, not the input pin.
No flags are affected.
Formats:
Description | Mnemonic | Bytes | Cycles |
Jump if bit set: | JBC <bit address>,<address> | 3 | 2 |