DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

ATTINY22 データシートの表示(PDF) - Atmel Corporation

部品番号
コンポーネント説明
メーカー
ATTINY22 Datasheet PDF : 59 Pages
First Prev 51 52 53 54 55 56 57 58 59
Instruction Set Summary (Continued)
Mnemonics
Operands Description
DATA TRANSFER INSTRUCTIONS
MOV
Rd, Rr
Move Between Registers
LDI
Rd, K
Load Immediate
LD
Rd, X
Load Indirect
LD
Rd, X+
Load Indirect and Post-Inc.
LD
Rd, - X
Load Indirect and Pre-Dec.
LD
Rd, Y
Load Indirect
LD
Rd, Y+
Load Indirect and Post-Inc.
LD
Rd, - Y
Load Indirect and Pre-Dec.
LDD
Rd,Y+q
Load Indirect with Displacement
LD
Rd, Z
Load Indirect
LD
Rd, Z+
Load Indirect and Post-Inc.
LD
Rd, -Z
Load Indirect and Pre-Dec.
LDD
Rd, Z+q
Load Indirect with Displacement
LDS
Rd, k
Load Direct from SRAM
ST
X, Rr
Store Indirect
ST
X+, Rr
Store Indirect and Post-Inc.
ST
- X, Rr
Store Indirect and Pre-Dec.
ST
Y, Rr
Store Indirect
ST
Y+, Rr
Store Indirect and Post-Inc.
ST
- Y, Rr
Store Indirect and Pre-Dec.
STD
ST
ST
ST
STD
STS
Y+q,Rr
Z, Rr
Z+, Rr
-Z, Rr
Z+q,Rr
k, Rr
Store Indirect with Displacement
Store Indirect
Store Indirect and Post-Inc.
Store Indirect and Pre-Dec.
Store Indirect with Displacement
Store Direct to SRAM
LPM
Load Program Memory
IN
Rd, P
In Port
OUT
P, Rr
Out Port
PUSH
Rr
Push Register on Stack
POP
Rd
Pop Register from Stack
BIT AND BIT-TEST INSTRUCTIONS
SBI
CBI
LSL
LSR
ROL
ROR
P,b
Set Bit in I/O Register
P,b
Clear Bit in I/O Register
Rd
Logical Shift Left
Rd
Logical Shift Right
Rd
Rotate Left Through Carry
Rd
Rotate Right Through Carry
ASR
SWAP
BSET
BCLR
BST
BLD
SEC
CLC
SEN
CLN
SEZ
CLZ
SEI
CLI
SES
CLS
SEV
CLV
SET
CLT
SEH
CLH
NOP
SLEEP
WDR
Rd
Rd
s
s
Rr, b
Rd, b
Arithmetic Shift Right
Swap Nibbles
Flag Set
Flag Clear
Bit Store from Register to T
Bit load from T to Register
Set Carry
Clear Carry
Set Negative Flag
Clear Negative Flag
Set Zero Flag
Clear Zero Flag
Global Interrupt Enable
Global Interrupt Disable
Set Signed Test Flag
Clear Signed Test Flag
Set Twos Complement Overflow
Clear Twos Complement Overflow
Set T in SREG
Clear T in SREG
Set Half Carry Flag in SREG
Clear Half Carry Flag in SREG
No Operation
Sleep
Watchdog Reset
56
ATtiny22/22L
Operation
Flags
Rd Rr
Rd K
Rd (X)
Rd (X), X X + 1
X X 1, Rd (X)
Rd (Y)
Rd (Y), Y Y + 1
Y Y 1, Rd (Y)
Rd (Y + q)
Rd (Z)
Rd (Z), Z Z+1
Z Z - 1, Rd (Z)
Rd (Z + q)
Rd (k)
(X) Rr
(X) Rr, X X + 1
X X - 1, (X) Rr
(Y) Rr
(Y) Rr, Y Y + 1
Y Y - 1, (Y) Rr
(Y + q) Rr
(Z) Rr
(Z) Rr, Z Z + 1
Z Z - 1, (Z) Rr
(Z + q) Rr
(k) Rr
R0 (Z)
Rd P
P Rr
STACK Rr
Rd STACK
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
I/O(P,b) 1
I/O(P,b) 0
Rd(n+1) Rd(n), Rd(0) 0
Rd(n) Rd(n+1), Rd(7) 0
Rd(0)C,Rd(n+1)Rd(n),CRd(7)
Rd(7)C,Rd(n)Rd(n+1),CRd(0)
Rd(n) Rd(n+1), n=0..6
Rd(3..0)Rd(7..4),Rd(7..4)Rd(3..0)
SREG(s) 1
SREG(s) 0
T Rr(b)
Rd(b) T
C1
C0
N1
N0
Z1
Z0
I1
I0
S1
S0
V1
V0
T1
T0
H1
H0
(see specific descr. for Sleep
(see specific descr. for WDR/timer)
None
None
Z,C,N,V
Z,C,N,V
Z,C,N,V
Z,C,N,V
Z,C,N,V
None
SREG(s)
SREG(s)
T
None
C
C
N
N
Z
Z
I
I
S
S
V
V
T
T
H
H
None
None
None
#Clock
1
1
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
3
1
1
2
2
2
2
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
3
1

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]