6.90.2 Status Register (SREG) and Boolean Formula
| I | T | H | S | V | N | Z | C |
| – | – | – | – | – | – | – | – |
Example:
cpi r16,0x42 ; Compare r16 to 0x42
brne error ; Branch if r16 <> 0x42
rjmp ok ; Unconditional branch
error:
add r16,r17 ; Add r17 to r16
inc r16 ; Increment r16
ok:
nop ; Destination for rjmp (do nothing)- Words
- 1 (2 bytes)
| Name | Cycles |
|---|---|
| AVRe | 2 |
| AVRxm | 2 |
| AVRxt | 2 |
| AVRrc | 2 |
