Operations:

Syntax:

Operation:

Operands:

Program Counter:

Opcode

Comment

Stack

CLS

S = 0

None

PC = PC + 1

1001010011001000

Description

Clears the Sign (S) flag in SREG (Status Register). (Equivalent to instruction BCLR 4.)

Status Register (SREG) and Boolean Formula

I

T

H

S

0

0

Sign flag cleared.

V

N

Z

C

Example:

      add   r2,r3  ; Add r3 to r2
      cls          ; Clear Sign flag

Words

1 (2 bytes)

Table Cycles

Name

Cycles

AVRe

1

AVRxm

1

AVRxt

1

AVRrc

1