39
AT94KAL Series FPSLIC
Rev. 1138G–FPSLI–11/03
ST
-Y, Rr
Store Indirect and Pre-Decrement
Y
←
Y - 1, (Y)
←
Rr
None
2
STD
Y+q, Rr
Store Indirect with Displacement
(Y + q)
←
Rr
None
2
ST
Z, Rr
Store Indirect
(Z)
←
Rr
None
2
ST
Z+, Rr
Store Indirect and Post-Increment
(Z)
←
Rr, Z
←
Z + 1
None
2
ST
-Z, Rr
Store Indirect and Pre-Decrement
Z
←
Z - 1, (Z)
←
Rr
None
2
STD
Z+q, Rr
Store Indirect with Displacement
(Z + q)
←
Rr
None
2
LPM
Load Program Memory
R0
←
(Z)
None
3
LPM
Rd, Z
Load Program Memory
Rd
←
(Z)
None
3
LPM
Rd, Z+
Load Program Memory and Post-
Increment
Rd
←
(Z), Z
←
Z + 1
None
3
IN
Rd, A
In From I/O Location
Rd
←
I/O(A)
None
1
OUT
A, Rr
Out To I/O Location
I/O(A)
←
Rr
None
1
PUSH
Rr
Push Register on Stack
STACK
←
Rr
None
2
POP
Rd
Pop Register from Stack
Rd
←
STACK
None
2
Bit and Bit-test Instructions
LSL
Rd
Logical Shift Left
Rd(n+1)
←
Rd(n),Rd(0)
←
0,C
←
Rd(7)
Z,C,N,V,H
1
LSR
Rd
Logical Shift Right
Rd(n)
←
Rd(n+1),Rd(7)
←
0,C
←
Rd(0)
Z,C,N,V
1
ROL
Rd
Rotate Left Through Carry
Rd(0)
←
C,Rd(n+1)
←
Rd(n),C
←
Rd(7)
Z,C,N,V,H
1
ROR
Rd
Rotate Right Through Carry
Rd(7)
←
C,Rd(n)
←
Rd(n+1),C
←
Rd(0)
Z,C,N,V
1
ASR
Rd
Arithmetic Shift Right
Rd(n)
←
Rd(n+1), n=0..6
Z,C,N,V
1
SWAP
Rd
Swap Nibbles
Rd(3..0)
↔
Rd(7..4)
None
1
BSET
s
Flag Set
SREG(s)
←
1
SREG(s)
1
BCLR
s
Flag Clear
SREG(s)
←
0
SREG(s)
1
SBI
A, b
Set Bit in I/O Register
I/O(A, b)
←
1
None
2
CBI
A, b
Clear Bit in I/O Register
I/O(A, b)
←
0
None
2
BST
Rr, b
Bit Store from Register to T
T
←
Rr(b)
T
1
BLD
Rd, b
Bit load from T to Register
Rd(b)
←
T
None
1
SEC
Set Carry
C
←
1
C
1
CLC
Clear Carry
C
←
0
C
1
SEN
Set Negative Flag
N
←
1
N
1
CLN
Clear Negative Flag
N
←
0
N
1
SEZ
Set Zero Flag
Z
←
1
Z
1
CLZ
Clear Zero Flag
Z
←
0
Z
1
SEI
Global Interrupt Enable
I
←
1
I
1
CLI
Global Interrupt Disable
I
←
0
I
1
SES
Set Signed Test Flag
S
←
1
S
1
Instruction Set Summary (Continued)
Mnemonics
Operands
Description
Operation
Flags
#Clock