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
 

 

What is the need to use LTORG

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

New User


Joined: 17 Jun 2010
Posts: 2
Location: chennai

PostPosted: Thu Jun 17, 2010 1:01 pm    Post subject: What is the need to use LTORG
Reply with quote

hi i have a doubt in LTORG. when we are going to use LTORG and what is the need to use
Back to top
View user's profile Send private message

PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2435
Location: Netherlands, Amstelveen

PostPosted: Thu Jun 17, 2010 1:14 pm    Post subject:
Reply with quote

Use the LTORG instruction so that the assembler can collect and assemble literals into a literal pool. A literal pool contains the literals you specify in a source module either after the preceding LTORG instruction, or after the beginning of the source module.

The creation of a literal pool gives the following advantages:

•Automatic organization of the literal data into sections that are correctly aligned and arranged so that minimal space is wasted in the literal pool.
•Assembling of duplicate data into the same area.
•Because all literals are cross-referenced, you can find the literal constant in the pool into which it has been assembled.
Back to top
View user's profile Send private message
ursanthu21
Currently Banned

New User


Joined: 18 Jun 2010
Posts: 2
Location: chennai

PostPosted: Fri Jun 18, 2010 4:00 pm    Post subject: LTORG IN ASSEMBLER
Reply with quote

hi perter will you please explain with the example.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6968
Location: porcelain throne

PostPosted: Fri Jun 18, 2010 5:28 pm    Post subject:
Reply with quote

Hi Peter,
I am an unconscionable lazy sh*t,
who has no interest in exerting any effort on my part,
to read manuals, technical papers, or even to just think about what I have just read.

So, could you please spoon-feed me information on the following subjects,
because it is so much easier for you
to figure out how to make me understand the subject,
instead of me exerting any effort to learn, understand or even
take any responsibility for my life.

have a good weekend.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2435
Location: Netherlands, Amstelveen

PostPosted: Fri Jun 18, 2010 6:15 pm    Post subject:
Reply with quote

Quote:

I am an unconscionable lazy sh*t,
who has no interest in exerting any effort on my part,
to read manuals, technical papers, or even to just think about what I have just read.

So, could you please spoon-feed me information on the following subjects,
because it is so much easier for you
to figure out how to make me understand the subject,
instead of me exerting any effort to learn, understand or even
take any responsibility for my life.


Nothing new for me there, Dick.

And a great weekend for you too.
Back to top
View user's profile Send private message
mkreutzian

New User


Joined: 26 Jan 2007
Posts: 3
Location: Iowa

PostPosted: Wed Jun 23, 2010 11:22 pm    Post subject: Reply to: What is the need to use LTORG
Reply with quote

The primary reason I use the LTORG is to relocate the Literal pool to within the base register when I am using massive tables in my programs.
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 CSECT without an LTORG but uses lit... nigelosberry PL/I & Assembler 13 Tue Mar 29, 2011 3:05 pm
No new posts What is the Difference between LTORG ... Saira PL/I & Assembler 1 Wed Sep 13, 2006 12:59 pm
No new posts Where do we use LTORG ap_mainframes PL/I & Assembler 1 Thu Aug 24, 2006 10:24 am


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