| Linkage |
Macro |
Function |
|---|---|---|
| SVC 00 |
XDAP |
Reads or writes direct access volumes |
| SVC 00 |
EXCP |
Executes a channel program for graphic access method (GAM) |
| SVC 01 |
WAIT |
Waits for one or more events |
| SVC 02 |
POST |
Signals event completion |
| SVC 03 |
None |
Exits from called program |
| SVC 04 |
GETMAIN |
Acquires user storage |
| SVC 05 |
FREEMAIN |
Releases user-acquired storage |
| SVC 06 |
LINK |
Passes control to another program |
| SVC 07 |
XCTL |
Passes control to another program at the same task level and does not return to the calling program |
| SVC 08 |
LOAD |
Reads a program into storage |
| |
大型机汇编(mainframe assembler/HLASM)之中断向量表
最新推荐文章于 2026-06-14 15:43:23 发布
本文介绍了大型机汇编,特别是HLASM中的SVC(Supervisor Calls)机制,它类似于PC汇编中的中断向量表。SVC每个分支对应一个特定的宏,如GETMAIN/FREEMAIN分别对应'SVC 04'和'SVC 05'中断。同时推荐了另一篇关于'SVC 35'解读的博文。

930

被折叠的 条评论
为什么被折叠?



