42. CLN – Clear Negative Flag
42.1. Description
Clears the Negative Flag (N) in SREG (Status Register).
Operation:
(i) N ← 0
Syntax: Operands: Program Counter:
(i) CLN None PC ← PC + 1
16-bit Opcode:
1001 0100 1010 1000
42.2. Status Register (SREG) and Boolean Formula
I T H S V N Z C
– – – – – 0 – –
N 0
Negative Flag cleared.
Example:
add r2,r3 ; Add r3 to r2
cln ; Clear Negative Flag
Words 1 (2 bytes)
Cycles 1
Atmel AVR Instruction Set Manual [OTHER]
Atmel-0856L-AVR-Instruction-Set-Manual_Other-11/2016
70