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
 

 

Usages of Register in Assembler

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
View previous topic :: :: View next topic  
Author Message
afroz alam

New User


Joined: 02 Jul 2007
Posts: 13
Location: India

PostPosted: Thu Jul 05, 2007 5:32 pm    Post subject: Usages of Register in Assembler
Reply with quote

Hi all.....

Can anyone plz tell me what is the purpose of Register 0,2,14,and 15 in assembly language.

afroz
Back to top
View user's profile Send private message

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Thu Jul 05, 2007 10:03 pm    Post subject:
Reply with quote

Hello,

You may want to search the web for some introductory assembler info or look at the assembler book written by Kevin McQuillen that is available form Murach Publishing. Kevin's book is excellent.

There are 16 registers - zero to 15. Various assembler instructions require the use one or more of these registers.
Back to top
View user's profile Send private message
haibrs

New User


Joined: 03 Jan 2007
Posts: 8
Location: Mumbai

PostPosted: Tue Jul 17, 2007 5:07 pm    Post subject:
Reply with quote

Hi,
Register 0 is for System usage.
Register 2 is used for speacial purpose instruction like TRT, etc.
Register 14, 15 is used for Calling & Called programs address.
Register 15 is alse used for Return Code.

Regards,
BRS.
Back to top
View user's profile Send private message
Phrzby Phil

Active Member


Joined: 31 Oct 2006
Posts: 962
Location: Richmond, Virginia

PostPosted: Tue Jul 17, 2007 5:16 pm    Post subject:
Reply with quote

haibrs's answer is not exactly the answer to your question, but rather to the important question (which is perhaps what you intended): "What are the conventional uses of these registers?"

Assembler language per se has no particular preference.
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 A not very Christmassy PL/I tale, wit... prino PL/I & Assembler 3 Mon Dec 26, 2016 1:01 am
No new posts Online Assembler Program Starting point Aditya.Srivastava PL/I & Assembler 4 Fri Jul 08, 2016 6:48 pm
This topic is locked: you cannot edit posts or make replies. MVS Assembler profiles for Pune Locat... shailesh_do Mainframe Jobs 0 Mon Feb 22, 2016 6:21 pm
No new posts ASRA abend calling Assembler from CICS surya8 PL/I & Assembler 13 Thu Sep 10, 2015 7:50 pm
No new posts Is Enterprise PL/I v4.2 compatible wi... sundarkudos PL/I & Assembler 2 Wed Aug 19, 2015 11:15 pm


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