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

What is the signifcance with Base Regsiter


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
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
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: 3156
Location: Tucson AZ

PostPosted: Tue Jun 19, 2007 5:45 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> PL/I & Assembler

 


Similar Topics
Topic Forum Replies
No new posts retrieving envelope information out o... TSO/ISPF 6
No new posts base+displacement addressing scheme PL/I & Assembler 3
No new posts JOINKEYS or SPLICE? while retaining h... DFSORT/ICETOOL 4
No new posts VSAM AIX is not populating base clust... JCL & VSAM 2
No new posts URGENT To copy GDG base with gens wit... DFSORT/ICETOOL 8
Search our Forums:

Back to Top