Status Register (SREG) and Boolean Formula

I T H S V N Z C

Example:

 clr r31 ; Clear Z high byte
 ldi r30,$60 ; Set Z low byte to $60
 st Z+,r0 ; Store r0 in data space loc. $60(Z post inc)
 st Z,r1 ; Store r1 in data space loc. $61
 ldi r30,$63 ; Set Z low byte to $63
 st Z,r2 ; Store r2 in data space loc. $63
 st -Z,r3 ; Store r3 in data space loc. $62(Z pre dec)
 std Z+2,r4 ; Store r4 in data space loc. $64
Words
1 (2 bytes)
Cycles
2
Cycles XMEGA

(i) 1

(ii) 1

(iii) 2

(iv) 2

Cycles Reduced Core tinyAVR

(i) 1

(ii) 1

(iii) 2