Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Supervisor Call in Assembly Language

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
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    Post subject: Supervisor Call in Assembly Language
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    Post subject:
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    Post subject: Re: Supervisor Call in Assembly Language
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    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts StreamWeaver language reference chetanambi Compuware & Other Tools 1 Wed Jul 05, 2017 12:50 pm
No new posts Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm
No new posts Need help in triggering a PL1 module ... Varungv99 IMS DB/DC 0 Fri Apr 07, 2017 10:01 am
No new posts Cobol EZASOKET call to SETSOCKOPT fails Andi1982 COBOL Programming 6 Thu Oct 06, 2016 7:12 pm
No new posts Strange EXEC function call in z/VM Willy Jensen CLIST & REXX 3 Wed Oct 05, 2016 2:07 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us