大型机汇编(mainframe assembler/HLASM)之中断向量表

本文介绍了大型机汇编,特别是HLASM中的SVC(Supervisor Calls)机制,它类似于PC汇编中的中断向量表。SVC每个分支对应一个特定的宏,如GETMAIN/FREEMAIN分别对应'SVC 04'和'SVC 05'中断。同时推荐了另一篇关于'SVC 35'解读的博文。

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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值