EasyManua.ls Logo

Atmel AVR - 118.2. Status Register (SREG) and Boolean Formula

Atmel AVR
191 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
(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

Table of Contents

Related product manuals