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)
(i) 1
(ii) 1
(iii) 2
(i) 1
(ii) 1
(iii) 2