Status Register (SREG) and Boolean Formula

I T H S V N Z C

Example:

 clr r29 ; Clear Y high byte
 ldi r28,$60 ; Set Y low byte to $60
 st Y+,r0 ; Store r0 in data space loc. $60(Y post inc)
 st Y,r1 ; Store r1 in data space loc. $61
 ldi r28,$63 ; Set Y low byte to $63
 st Y,r2 ; Store r2 in data space loc. $63
 st -Y,r3 ; Store r3 in data space loc. $62(Y pre dec)
 std Y+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