This instruction tests a single bit in an I/O Register and skips the next instruction if the bit is cleared. This instruction operates on the lower 32 I/O Registers – addresses 0-31.
Operation: |
|||
(i) |
If I/O(A,b) = 0 then PC ← PC + 2 (or 3) else PC ← PC + 1 |
||
Syntax: |
Operands: |
Program Counter: |
|
(i) |
SBIC A,b |
0 ≤ A ≤ 31, 0 ≤ b ≤ 7 |
PC ← PC + 1, Condition false - no skip PC ← PC + 2, Skip a one word instruction PC ← PC + 3, Skip a two word instruction |
16-bit Opcode:
1001 | 1001 | AAAA | Abbb |