TRAPV Instruction
The instruction TRAPV examines if an overflow has arisen. If it hasn't (the V flag is 0), nothing happens. If it has, the program counter and the status register is pushed on the stack, and the program counter will be given a new address, stored at the absolute address $1C. The MPU is set to supervisor mode. The instruction is often used by high-level languages.
ADDRESS METHODS: N/A
DATA LENGTH: N/A
FLAGS: Unaffected
SYNTAX: TRAPV