开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

questions about STXIT and EXIT in DOS/VS, DOS/VSE, VSE/SP, etc.


 

Hello, all,

Happy 2023 to everyone.

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?

Thanks in advance.

All the best,

Mark S. Waterbury


 

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.zip

Hope that helps!

--
"Fish" (David B. Trout)
Software Development Laboratories

mail: fish@...


 

Thank you, sir ...

That should help me to get started with this little project ...

All the best,
Mark S. Waterbury