Operating Mode Considerations [ Trap Handling Programmer's Guide ] MPE/iX 5.0 Documentation
Trap Handling Programmer's Guide
Operating Mode Considerations
A Native Mode (NM) trap handling routine often differs from the
corresponding Compatibility Mode (CM) trap handler in its calling
sequence [refer to the Introduction to MPE XL for MPE V Programmers
(30367-90005)] and the method by which the trap routine obtains error
information. However, you need supply only the version for the mode in
which you invoke intrinsics.
You do not need to modify existing CM applications that use a trap
handler in order to run them on MPE XL. Likewise, new NM applications
need not specify a CM version of their NM trap handling routine. Only
those doing mixed-mode programming, who invoke intrinsics in both modes,
need to specify and arm trap handling routines in both modes in order to
capture all possible traps.
This manual documents trap handling from the Native Mode perspective
only. For information concerning trap handling in the Compatibility
Mode environment, refer to the MPE V Intrinsics Reference Manual
(32033-90007). For information concerning trap handling when doing
mixed-mode programming, refer to the Introduction to MPE XL for MPE V
Programmers (30367-90005).
MPE/iX 5.0 Documentation