IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Supervisor Call in Assembly Language


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
jigar solanki

New User


Joined: 09 Dec 2005
Posts: 4

PostPosted: Tue Jan 10, 2006 5:00 pm
Reply with quote

Hi,

I want to know about the Supervisor Call (SVC).

like, where it USE. What is the format? etc.

Thanks.
Back to top
View user's profile Send private message
DavidatK

Active Member


Joined: 22 Nov 2005
Posts: 700
Location: Troy, Michigan USA

PostPosted: Tue Jan 10, 2006 11:22 pm
Reply with quote

Hi jigar solanki,

I suspect you will get better results by posting this on the Assembler forum. My guess is that most COBOL programmers don't know what a SVC call is.
Back to top
View user's profile Send private message
deepamk

New User


Joined: 30 Nov 2005
Posts: 8

PostPosted: Wed Jan 11, 2006 9:39 am
Reply with quote

SVC (SuperVisor Call)is an RR type instruction in which the two register address fields are not utilized for register address, but contain a one byte numeric code(N) that identifies the purpose of SVC.

SVC N

where N - a decimal integer from 0 to 255.

When SVC is executed :
- Control is transferred to a fixed location within the operating system.
- the address of the instruction following the SVC is preserved so that the operating system can return control to the user program following completion of the task being requested.
- the state of the computer system is set to supervisor mode so that privileged instructions may be executed while the operating system is performing the task.
- the SVC operand is made available to the operating system through the interruption code field of the program status word.

The operating system determines the purpose of the SVC by examining the SVC operand code and proceeds accordingly.
eg: SVC 13 - means ABEND
SVC 8 --LOAD
SVC 9 -- DELETE etc...
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> PL/I & Assembler

 


Similar Topics
Topic Forum Replies
No new posts Error while running web tool kit REXX... CLIST & REXX 5
No new posts Call program, directly from panel CLIST & REXX 9
No new posts Batch call online program, EXCI task ... CICS 3
No new posts CSQBGET - Call giving completion code... COBOL Programming 3
No new posts CICS DPL call CICS 6
Search our Forums:

Back to Top