6.100.2 Status Register (SREG) and Boolean Formula
| I | T | H | S | V | N | Z | C |
| – | – | – | – | – | – | – | – |
Example:
sub r0,r1 ; Subtract r1 from r0
sbrc r0,7 ; Skip if bit 7 in r0 cleared
sub r0,r1 ; Only executed if bit 7 in r0 not cleared
nop ; Continue (do nothing)
- Words
- 1 (2 bytes)
| Name | Cycles | ||
|---|---|---|---|
| i | ii | iii | |
| AVRe | 1 | 2 | 3 |
| AVRxm | 1 | 2 | 3 |
| AVRxt | 1 | 2 | 3 |
| AVRrc | 1 | 2 | N/A |
i) If the condition is false (no skip).
ii) If the condition is true (skip is executed) and the instruction skipped is one word.
iii) If the condition is true (skip is executed) and the instruction skipped is two words.
