Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
What is the signifcance with Base Regsiter

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

New User


Joined: 19 Nov 2004
Posts: 24
Location: Banglore

PostPosted: Tue Jun 19, 2007 5:23 pm    Post subject: What is the signifcance with Base Regsiter
Reply with quote

Could any let me know what is the signifcance of adding 2048 to R12 rather than direclty pointing to 4096 address

LA R12,2048(,R11)
LA R12,2048(,R12) / AHI R12,2048


Could any one help me with this query?


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

William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Tue Jun 19, 2007 5:45 pm    Post subject:
Reply with quote

Because 4096 requires 4 hex digits and the load address only increments 3.
Back to top
View user's profile Send private message
Mickeydusaor

Active User


Joined: 24 May 2006
Posts: 258
Location: Salem, Oregon

PostPosted: Tue Jun 19, 2007 7:42 pm    Post subject:
Reply with quote

There is several way of doing this, one is the example as you have shown
another is.

LA R12,4095(R13)
LA R12,1(R12)
LA R11,4095(R12)
LA R11,1(R11)
LA R10,4095(R11)
LA R10,1(R10)
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 retrieving envelope information out o... VintageReceiver TSO/ISPF 6 Thu Aug 10, 2017 8:13 pm
No new posts base+displacement addressing scheme jackzhang75 PL/I & Assembler 3 Tue Mar 03, 2015 2:07 am
No new posts JOINKEYS or SPLICE? while retaining h... hsinaz50 DFSORT/ICETOOL 4 Thu Apr 17, 2014 12:13 am
No new posts VSAM AIX is not populating base clust... Satheeshkumar JCL & VSAM 2 Sun Oct 20, 2013 9:32 am
No new posts URGENT To copy GDG base with gens wit... ranjitbhingare DFSORT/ICETOOL 8 Thu Apr 04, 2013 6:47 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us