From NES Hacker Wiki
Jump to: navigation, search
Clear Overflow Flag
Opcode: CLV
Operation: 0 → V
Status Register: Status-List.png

CLV (Clear Overflow Flag) clears the Overflow Flag in the Processor Status Register by setting the 6th bit 0. There is no opcode for setting the overflow flag.


This pseudo C code shows how the CLV opcode functions when it is executed.

SET_OVERFLOW((0));            // Set the 6th bit of the processor status to 0.

Addressing Modes

Addressing Mode Assembly Language Form Opcode # Bytes # Cycles
Implied CLV B8 1 2