Operations:

Syntax:

Operation:

Operands:

Program Counter:

Opcode

Comment

Stack

SBI A,b

I/O(A,b) = 1

0 <= A <= 31, 0 <= b <= 7

PC = PC + 1

10011010AAAAAbbb

Description

Sets a specified bit in an I/O Register. This instruction operates on the lower 32 I/O Registers - addresses 0-31.

Status Register (SREG) and Boolean Formula

I

T

H

S

V

N

Z

C

Example:

      sbi   0x1C,0   ; Set bit 0 at address 0x1C

Words

1 (2 bytes)

Table Cycles

Name

Cycles

AVRe

2

AVRxm

1

AVRxt

1

AVRrc

1