TRAP(A, B, TO)

Purpose

Operand A is compared with operand B. This comparison results in five conditions which are ANDed with TO. If the result is not 0, the system trap handler is invoked.

8-byte integers are valid only in 64-bit mode.

Both operands A and B must be either of type INTEGER(4) or INTEGER(8).

Class

Subroutine

Argument type and attributes

A
must be of type integer.
B
must be of type integer.
TO
must be a literal value from 1 to 31, of type INTEGER(4).
End of IBM Extension