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