IBM System/360 System Programmer's Manual page 34

Operating system
Hide thumbs Also See for System/360:
Table of Contents

Advertisement

Table
1.
Programming conventions for SVC Routines
r---------------------T-----------T------T---------T--------T----------,
I
I
I
I
I
IReference I
I
Conventions
I
Type
1
IType 21
Type
3
IType
4
I
Code
I
I
I
I
I
I
I
I
~---------------------t-----------t------t---------t--------t----------~
Ipart of resident
I
Yes
I Yes
I
No
I No
I
I
Icontrol program
I
I
I
I
I
I
~----------------------t-----------t------t---------t--------t----------~
ISize of routine
I
Any
I Any
I
~
1024
lEach
I
I
I
I
I
I 1:ytes
Iload
I
I
I
I
I
I
I module
I
I
I
I
I
I
I
~
1024
I
I
I
I
I
I
l1:ytes
I
I
~---------------------t-----------t------t---------t--------t----------~
IReenterable routine
I Optional,
I
~es
I
Yes
I Yes
I
1
I
I
Ibut rrust
I
I
I
I
I
I
Ibe seriallyl
I
I
I
I
I
I reusable
I
I
I
I
I
~---------------------t-----------t------t---------t--------t----------~
IMay allow inter-
I
No
I Yes
I
Yes
I Yes
I
2
I
Iruptions
I
I
I
I
I
I
~---------------------t-----------~------~---------~--------+----------~
IEntry point
I~ust
be the first 1:yte of the routinel
I
I
lor load module, and must be on a
I
I
I
I double-word 1:oundary
I
I
~---------------------+-------------------------------------t----------i
INumber of routine
INumbers assigned to your SVC routines I
I
I
Ishould be in descending order from
I
I
I
1
2 5 5
through
200
I
I
~----------------------t-----------T------T---------~-------t----------i
IName of routinE;
IIGCnnn
IIGCnnnlIGCOOnnn IIGCssnnnl
3
I
~---------------------t-----------~------~---------~--------t----------i
IRegister contents at IRegisters
3, 4, 5,
and
14
contain
I
4
I
lentry time
Icommunication pointers; registers
0,
I
I
I
1
1 ,
and
15
are parameter registers
I
I
~---------------·------t-----------T------T---------T--------+----------i
IMay contain reloca-
I
Yes
I Yes
I
No*
I No*
I
5
I
Itable data
I
I
I
I
I
I
~---------------------t-----------t------+---------t--------t----------~
ICan supervisor re-
I
Not
I Yes* I
Yes*
I Yes*
I
6
I
Iquest block (SVRB) belapplica1:le I
I
I
I
I
I extended
I
I
I
I
I
I
~---------------------t-----------t------t---------t--------t----------~
IMay issue WAIT macro-I
No
I Yes* I
Yes*
I Yes*
I
7
I
I instruction
I
I
I
I
I
I
~---------------------t-----------t------t--------·-t--------t----------~
IMay issue XCTL macro-I
No
I No
I
No
I Yes*
I
8
I
I instruction
I
I
I
I
I
I
~---------------------t-----------t------t---------t--------t----------~
IMay pass contral to
I
None
I Any
I
Any
I Any
I
I
Iwhat other types of
I
I
I
I
I
I
ISVC routines
I
I
I
I
I
I
~---------------------t-----------t------~-·------~-~--------t----------i
IType of linkage with I
Not
I Issue supervisor call
I
I
lather SVC routines
lapplicable I (SVC) instruction
I
I
~---------------------t-----------~-------------------------t----------~
IExit from SVC Routine I
Branch using return register
14
I
I
~---------------·------t-----------T-------------------------t----------i
IMethod of abnormal
IUse resi-
IUse ABEND
I
9
I
I termination
Ident abnor-Imacro-instruction or
I
I
I
Imal termi- Iresident abnormal
I
I
I
Ination rou-Itermination routine
I
I
I
Itine
I
I
I
L _____________________
~
___________
~
_________________________
~
__________
J
Adding SVC Routines to the Control Program
33

Advertisement

Table of Contents
loading

Table of Contents