Edward,

I have to disagree.

What is the problem with using LARL to reference static data significantly
offset within a large CSECT/RSECT?

John P. Baker

-----Original Message-----
From: IBM Mainframe Assembler List [mailto:[email protected]]
On Behalf Of Edward Jaffe
Sent: Monday, December 20, 2010 11:54 AM
To: [email protected]
Subject: Re: Baseless vs Based

On 12/20/2010 6:05 AM, Bodoh John Robert wrote:
> I am surprised this not considered a hole in the assembler and is not more
pervasive than just for me and my simple case.  Do not other macros have the
same problem?

ROT: Unless you're talking about a branch location, you should not be using
relative instructions. All literals and other data should be covered by a
base register, no matter where they appear.

--
Edward E Jaffe
Phoenix Software International, Inc
831 Parkview Drive North
El Segundo, CA 90245
310-338-0400 x318
[email protected]
http://www.phoenixsoftware.com/

Reply via email to