Operations:

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

Description

This instruction sets the circuit in sleep mode defined by the MCU Control Register.

Status Register (SREG) and Boolean Formula

I

T

H

S

V

N

Z

C

Example:

      mov   r0,r11       ; Copy r11 to r0
      ldi   r16,(1<<SE)  ; Enable sleep mode
      out   MCUCR, r16
      sleep              ; Put MCU in sleep mode

Words

1 (2 bytes)

Table Cycles

Name

Cycles

AVRe

1

AVRxm

1

AVRxt

1

AVRrc

1