(i) 1001 001r rrrr 1100
(ii) 1001 001r rrrr 1101
(iii) 1001 001r rrrr 1110
118.2. Status Register (SREG) and Boolean Formula
I T H S V N Z C
– – – – – – – –
Example:
clr r27 ; Clear X high byte
ldi r26,$60 ; Set X low byte to $60
st X+,r0 ; Store r0 in data space loc. $60(X post inc)
st X,r1 ; Store r1 in data space loc. $61
ldi r26,$63 ; Set X low byte to $63
st X,r2 ; Store r2 in data space loc. $63
st -X,r3 ; Store r3 in data space loc. $62(X pre dec)
Words 1 (2 bytes)
Cycles 2
Cycles XMEGA (i) 1
(ii) 1
(iii) 2
Cycles Reduced Core tinyAVR (i) 1
(ii) 1
(iii) 2
Atmel AVR Instruction Set Manual [OTHER]
Atmel-0856L-AVR-Instruction-Set-Manual_Other-11/2016
174