6.100.1 Description
This instruction tests a single bit in a register and skips the next instruction if the bit is cleared.
Operation:
|
Operation: | |||
|
(i) |
If Rr(b) == 0 then PC ← PC + 2 (or 3) else PC ← PC + 1 | ||
|
Syntax: |
Operands: |
Program Counter: | |
|
(i) |
SBRC Rr,b |
0 ≤ r ≤ 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:
| 1111 | 110r | rrrr | 0bbb |
