6.115.2 Status Register (SREG) and Boolean Formula
I | T | H | S | V | N | Z | C |
– | – | – | – | – | – | – | – |
Example:
clr r29 ; Clear Y high byte ldi r28,0x60 ; Set Y low byte to 0x60 st Y+,r0 ; Store r0 in data space loc. 0x60(Y post inc) st Y,r1 ; Store r1 in data space loc. 0x61 ldi r28,0x63 ; Set Y low byte to 0x63 st Y,r2 ; Store r2 in data space loc. 0x63 st -Y,r3 ; Store r3 in data space loc. 0x62(Y pre dec) std Y+2,r4 ; Store r4 in data space loc. 0x64
- Words
- 1 (2 bytes)
Name | Cycles | |||
---|---|---|---|---|
(i) | (ii) | (iii) | (iv) | |
AVRe | 2(1) | 2(1) | 2(1) | 2(1) |
AVRxm | 1(1) | 1(1) | 2(1) | 2(1) |
AVRxt | 1(2) | 1(2) | 1(2) | 1(2) |
AVRrc | 1 | 1 | 2 | N/A |
Note:
- Cycle times for data memory access assume internal RAM access and are not valid for accessing external RAM.
- Cycle time for data memory access assumes internal RAM access, and are not valid for access to NVM. A minimum of one extra cycle must be added when accessing NVM. The additional time varies dependent on the NVM module implementation. See the NVMCTRL section in the specific devices data sheet for more information.