Syntax: |
Operation: |
Operands: |
Program Counter: |
Opcode |
Comment |
Stack |
SLEEP |
Refer to the device documentation for a detailed description of SLEEP usage. |
None |
PC = PC + 1 |
1001010110001000 |
This instruction sets the circuit in sleep mode defined by the MCU Control Register.
I |
– |
||
T |
– |
||
H |
– |
||
S |
– |
||
V |
– |
||
N |
– |
||
Z |
– |
||
C |
– |
mov r0,r11 ; Copy r11 to r0 ldi r16,(1<<SE) ; Enable sleep mode out MCUCR, r16 sleep ; Put MCU in sleep mode
1 (2 bytes)
Name |
Cycles |
AVRe |
1 |
AVRxm |
1 |
AVRxt |
1 |
AVRrc |
1 |