Mnemonic Operands Description Op Flags
#Clocks
AVR
#Clocks
AVRxm
#Clocks
AVRxt
#Clocks
AVRrc
BRLO k Branch if
Lower
if (C = 1) then
PC
← PC + k + 1 None 1 / 2 1 / 2 1 / 2 1 / 2
BRMI k Branch if
Minus
if (N = 1) then
PC
← PC + k + 1 None 1 / 2 1 / 2 1 / 2 1 / 2
BRPL k Branch if Plus if (N = 0) then
PC
← PC + k + 1 None 1 / 2 1 / 2 1 / 2 1 / 2
BRGE k Branch if
Greater or
Equal, Signed
if (N ⊕ V= 0)
then PC
← PC + k + 1 None 1 / 2 1 / 2 1 / 2 1 / 2
BRLT k Branch if Less
Than, Signed
if (N ⊕ V= 1)
then PC
← PC + k + 1 None 1 / 2 1 / 2 1 / 2 1 / 2
BRHS k Branch if Half
Carry Flag
Set
if (H = 1) then
PC
← PC + k + 1 None 1 / 2 1 / 2 1 / 2 1 / 2
BRHC k Branch if Half
Carry Flag
Cleared
if (H = 0) then
PC
← PC + k + 1 None 1 / 2 1 / 2 1 / 2 1 / 2
BRTS k Branch if T
Flag Set
if (T = 1) then
PC
← PC + k + 1 None 1 / 2 1 / 2 1 / 2 1 / 2
BRTC k Branch if T
Flag Cleared
if (T = 0) then
PC
← PC + k + 1 None 1 / 2 1 / 2 1 / 2 1 / 2
BRVS k Branch if
Overflow Flag
is Set
if (V = 1) then
PC
← PC + k + 1 None 1 / 2 1 / 2 1 / 2 1 / 2
BRVC k Branch if
Overflow Flag
is Cleared
if (V = 0) then
PC
← PC + k + 1 None 1 / 2 1 / 2 1 / 2 1 / 2
BRIE k Branch if
Interrupt
Enabled
if (I = 1) then
PC
← PC + k + 1 None 1 / 2 1 / 2 1 / 2 1 / 2
BRID k Branch if
Interrupt
Disabled
if (I = 0) then
PC
← PC + k + 1 None 1 / 2 1 / 2 1 / 2 1 / 2
Table 4-4. Data Transfer Instructions
Mnemonic
Operands Description Op Flags
#Clocks
AVR
#Clocks
AVRxm
#Clocks
AVRxt
#Clocks
AVRrc
MOV Rd, Rr Copy Register Rd ← Rr None 1 1 1 1
MOVW Rd, Rr Copy Register
Pair
Rd+1:Rd ← Rr+1:Rr None 1 1 1 N/A
LDI Rd, K Load
Immediate
Rd ← K None 1 1 1 1
LDS Rd, k Load Direct
from data
space
Rd ← (k) None 2
(1)
2
(1)
3
(1)
2
LD Rd, X Load Indirect Rd ← (X) None 2
(1)
1
(1)
2
(1)
1 / 2
LD Rd, X+ Load Indirect
and Post-
Increment
Rd
X
←
←
(X)
X + 1
None 2
(1)
1
(1)
2
(1)
2 / 3
LD Rd, -X Load Indirect
and Pre-
Decrement
X
Rd
←
←
X - 1
(X)
None 2
(1)
2
(1)
2
(1)
2 / 3
LD Rd, Y Load Indirect Rd ← (Y) None 2
(1)
1
(1)
2
(1)
1 / 2
Atmel AVR Instruction Set Manual [OTHER]
Atmel-0856L-AVR-Instruction-Set-Manual_Other-11/2016
25