EasyManuals Logo

Atmel AVR User Manual

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
Page #28 background imageLoading...
Page #28 background image
Mnemonic Operands Description Op Flags
#Clocks
AVR
#Clocks
AVRxm
#Clocks
AVRxt
#Clocks
AVRrc
ROL Rd Rotate Left
Through
Carry
Rd(0)
Rd(n+1)
C
C
Rd(n)
Rd(7)
Z,C,N,V,H 1 1 1 1
ROR Rd Rotate Right
Through
Carry
Rd(7)
Rd(n)
C
C
Rd(n+1)
Rd(0)
Z,C,N,V 1 1 1 1
ASR Rd Arithmetic
Shift Right
Rd(n) Rd(n+1),
n=0..6
Z,C,N,V 1 1 1 1
SWAP Rd Swap Nibbles Rd(3..0) Rd(7..4) None 1 1 1 1
SBI A, b Set Bit in I/O
Register
I/O(A, b) 1 None 2 1 1 1
CBI A, b Clear Bit in
I/O Register
I/O(A, b) 0 None 2 1 1 1
BST Rr, b Bit Store from
Register to T
T Rr(b) T 1 1 1 1
BLD Rd, b Bit load from
T to Register
Rd(b) T None 1 1 1 1
BSET s Flag Set SREG(s) 1 SREG(s) 1 1 1 1
BCLR s Flag Clear SREG(s) 0 SREG(s) 1 1 1 1
SEC Set Carry C 1 C 1 1 1 1
CLC Clear Carry C 0 C 1 1 1 1
SEN Set Negative
Flag
N 1 N 1 1 1 1
CLN Clear
Negative Flag
N 0 N 1 1 1 1
SEZ Set Zero Flag Z 1 Z 1 1 1 1
CLZ Clear Zero
Flag
Z 0 Z 1 1 1 1
SEI Global
Interrupt
Enable
I 1 I 1 1 1 1
CLI Global
Interrupt
Disable
I 0 I 1 1 1 1
SES Set Signed
Test Flag
S 1 S 1 1 1 1
CLS Clear Signed
Test Flag
S 0 S 1 1 1 1
SEV Set Two’s
Complement
Overflow
V 1 V 1 1 1 1
CLV Clear Two’s
Complement
Overflow
V 0 V 1 1 1 1
SET Set T in
SREG
T 1 T 1 1 1 1
CLT Clear T in
SREG
T 0 T 1 1 1 1
Atmel AVR Instruction Set Manual [OTHER]
Atmel-0856L-AVR-Instruction-Set-Manual_Other-11/2016
28

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Atmel AVR and is the answer not in the manual?

Atmel AVR Specifications

General IconGeneral
Architecture8-bit RISC
SRAMUp to 16 KB
Clock SpeedUp to 20 MHz
Operating Voltage1.8V to 5.5V
ADC10-bit ADC
Communication InterfacesSPI, I2C, USB
PackagesDIP, SOIC, QFN
Special FeaturesWatchdog Timer
Flash Memory1KB to 256KB
EEPROM64B to 4KB

Related product manuals