MPE/iX Intrinsics Reference Manual (32650-90875)

350 Chapter7
Command Definitions (HP32208-HPLOACNMPROC)
HPENBLTRAP
If a trap is both enabled and armed, the user-written trap handler is invoked whenever
a trap condition occurs.
If a trap is enabled but not armed, one of two situations applies:
If a Pascal/XL TRY statement has been executed, control is passed to the recover
block by doing an escape.
If a Pascal/XL TRY statement has not been executed, an error message is output and
the process aborts.
If a trap is disabled, irrespective of whether it is armed, the trap is ignored, and
execution of the process continues without any interruption.
NOTE
By default, all traps except IEEE floating-point exceptions are enabled, and
the system trap handler is armed. Many floating-point operations result in an
inexact result. Consequently, most compiler libraries doing floating-point
operations result in an inexact trap if the IEEE inexact result trap is enabled.
Condition Codes
CCE (2) Request granted. All traps were originally disabled.
CCG (0) Request granted. At least one trap was originally enabled.
CCL (1) Not returned.
Related Information
Manuals Trap Handling Programmer's Guide