6.7.2 Status Register (SREG) and Boolean Formula
| I | T | H | S | V | N | Z | C |
| ⇔ | ⇔ | ⇔ | ⇔ | ⇔ | ⇔ | ⇔ | ⇔ |
- I
- If (s == 7) then I ← 0, else unchanged.
- T
- If (s == 6) then T ← 0, else unchanged.
- H
- If (s == 5) then H ← 0, else unchanged.
- S
- If (s == 4) then S ← 0, else unchanged.
- V
- If (s == 3) then V ← 0, else unchanged.
- N
- If (s == 2) then N ← 0, else unchanged.
- Z
- If (s == 1) then Z ← 0, else unchanged.
- C
- If (s == 0) then C ← 0, else unchanged.
Example:
bclr 0 ; Clear Carry flag
bclr 7 ; Disable interrupts
- Words
- 1 (2 bytes)
| Name | Cycles |
|---|---|
| AVRe | 1 |
| AVRxm | 1 |
| AVRxt | 1 |
| AVRrc | 1 |
