Mark Waterbury wrote:
Does anyone have some example(s) of using STXIT to trap
e.g. illegal opcodes or unimplemented SVCs, e.g. to handle them
in some way, such as by emulating the missing functionality,
before using EXIT to resume program execution?
The manual explains how to use both STXIT and EXIT:
* GC33-5373-02 DOS-VS Supervisor and I-O Macros
See pages 276 (STXIT) and 280 (EXIT).
As far as a usage example goes, while it may not necessarily be a very good example, my MODESETT program (which is just a simple test of my MODESET macro) uses both STXIT and EXIT, so you may (or may not!) find it useful.
It's in my "#fish-macros.zip" file in the group's Files area:
*
/g/H390-DOSVS/files *
/g/H390-DOSVS/files/%23fish-macros.zipHope that helps!
--
"Fish" (David B. Trout)
Software Development Laboratories
mail: fish@...