I |
T |
H |
S |
V |
N |
Z |
C |
– |
– |
– |
– |
– |
– |
– |
– |
Example:
sub r0,r1 ; Subtract r1 from r0
sbrs r0,7 ; Skip if bit 7 in r0 set
neg r0 ; Only executed if bit 7 in r0 not set
nop ; Continue (do nothing)
- Words
- 1 (2 bytes)
- Cycles
-
1 if condition is false (no skip)
2 if condition is true (skip is executed) and the
instruction skipped is 1 word
3 if condition is true (skip is executed) and the
instruction skipped is 2 words