IF V = 1 THEN:
[SSP] ← [SSP] - 4; [M([SSP])] ← [PC];
[SSP] ← [SSP] - 2; [M([SSP])] ← [SR];
[PC] ← [M($01C)]
ELSE no action
TRAPV
Unsized
If the V-bit in the CCR is set, then initiate exception processing. The exception vector is located at address 01C16. This instruction is used in arithmetic operations to call the operating system if overflow occurs.
X | N | Z | V | C |
---|---|---|---|---|
- | - | - | - | - |
From MOTOROLA M68000 FAMILY Programmer's reference manual. Copyright 1992 by Motorola Inc./NXP. Adapted with permission.