127. Trap on oVerflow

127.1. Name

TRAPv  -- Trap on overflow

127.2. Synopsis

        TRAPV

127.3. Function

If overflow capacity condition is true (V = 1) then there's generation of a level 7 exception, else execution continue normally.

127.4. Format

        -----------------------------------------------------------------
        |15 |14 |13 |12 |11 |10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
        |---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
        | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 1 | 0 |
        -----------------------------------------------------------------

127.5. Result

        None.

127.6. See also

TRAPcc TRAP