Operations:

Syntax:

Operation:

Operands:

Program Counter:

Opcode

Comment

Stack

SEI

I = 1

None

PC = PC + 1

1001010001111000

Description

Sets the Global Interrupt Enable (I) bit in SREG (Status Register). The instruction following SEI will be executed before any pending interrupts.

Status Register (SREG) and Boolean Formula

I

1

1

Global Interrupt Enable bit set.

T

H

S

V

N

Z

C

Example:

      sei      ; set global interrupt enable
      sleep    ; enter sleep, waiting for interrupt
               ; note: will enter sleep before any pending interrupt(s)

Words

1 (2 bytes)

Table Cycles

Name

Cycles

AVRe

1

AVRxm

1

AVRxt

1

AVRrc

1