Datasheet
295
ATmega48/88/168 Automotive [DATASHEET]
7530K–AVR–07/14
ST Z, Rr Store indirect (Z) ← Rr None 2
ST Z+, Rr Store indirect and post-inc. (Z) ← Rr, Z ← Z + 1 None 2
ST -Z, Rr Store ndirect and pre-dec. Z ← Z – 1, (Z) ← Rr None 2
STD Z+q,Rr Store indirect with displacement (Z + q) ← Rr None 2
STS k, Rr Store direct to SRAM (k) ← 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-inc Rd ← (Z), Z ← Z + 1 None 3
SPM Store program memory (Z) ← R1:R0 None -
IN Rd, P In port Rd ← P None 1
OUT P, R r Out port P ← Rr None 1
PUSH Rr Push register on stack STACK ← Rr None 2
POP Rd Pop register from stack Rd ← STACK None 2
MCU Control Instructions
NOP No operation None 1
SLEEP Sleep
(see specific description for
sleep function)
None 1
WDR Watchdog reset
(see specific description for
WDR/timer)
None 1
BREAK Break For on-chip debug Only None N/A
30. Instruction Set Summary (Continued)
Mnemonics Operands Description Operation Flags #Clocks
Note: 1. These instructions are only available in Atmel
®
ATmega168.