CLV
Jump to navigation
Jump to search
| Clear Overflow Flag | ||||||
| ||||||
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.
Operation
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 |