HP 3000 Manuals

XARITRAP (NM) (changed) [ Introduction to MPE XL for MPE V Programmers Migration Guide ] MPE/iX 5.0 Documentation


Introduction to MPE XL for MPE V Programmers Migration Guide

XARITRAP (NM) 
(changed) 

The following are the parameters that have been modified in the NM
version of the XARITRAP intrinsic.  The parameter sizes have been
expanded to handle the additional arithmetic traps available to NM
applications.

The mask and oldmask parameters of the NM version XARITRAP must be 32-bit
signed integer values.  The mask and oldmask parameters represent values
determining which enabled trap conditions invoke the user-written
software trap handler specified in the plabel or oldplabel parameters.

These parameters represent arithmetic traps identically to the mask and
oldmask parameters of the HPENBLTRAP intrinsic.

In MPE V/E and in MPE XL CM, plabels must be 16-bit entities.  In NM,
memory addresses represented as plabels must be 32-bit entities.  In NM,
the plabel and oldplabel parameters of XARITRAP must be 32-bit signed
integer values passed by reference.

The CM version of XARITRAP performs as described in the MPE V/E 
Intrinsics Reference Manual (32033-90007).  The NM version performs as
described in the MPE XL Intrinsics Reference Manual (32650-90028)


NOTE CM arithmetic trap handlers cannot catch traps encountered in NM code and, likewise, NM arithmetic trap handlers cannot catch traps encountered in CM code. For details on arming traps when your application contains both CM and NM code, refer to "Arming Traps in a Mixed Mode Programming Environment (new)" earlier in this chapter.


MPE/iX 5.0 Documentation