EasyManua.ls Logo

Atmel AVR

Atmel AVR
191 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
44. CLS – Clear Signed Flag
44.1. Description
Clears the Signed Flag (S) in SREG (Status Register).
Operation:
(i) S ← 0
Syntax: Operands: Program Counter:
(i) CLS None PC ← PC + 1
16-bit Opcode:
1001 0100 1100 1000
44.2. Status Register (SREG) and Boolean Formula
I T H S V N Z C
0
S 0
Signed Flag cleared.
Example:
add r2,r3 ; Add r3 to r2
cls ; Clear Signed Flag
Words 1 (2 bytes)
Cycles 1
Atmel AVR Instruction Set Manual [OTHER]
Atmel-0856L-AVR-Instruction-Set-Manual_Other-11/2016
72

Table of Contents

Related product manuals