Yes, that makes more sense. I had based my code on loads of 128-bit floating 
point values e.g.

         LD    1,=LD'2.71828182845904523536028747135266e2497'+0
         LD    3,=LD'2.71828182845904523536028747135266e2497'+8

With LA, it's simpler.

Robert Ngan
DXC Luxoft

-----Original Message-----
From: IBM Mainframe Assembler List <ASSEMBLER-LIST@LISTSERV.UGA.EDU> On Behalf 
Of Tony Thigpen
Sent: Tuesday, July 9, 2024 10:16
To: ASSEMBLER-LIST@LISTSERV.UGA.EDU
Subject: Re: using 2 consecutives areas

If going down this path, it would be better:

LA    1, =AL2(4,C'te',C'xt')
LA    2,2(,1)


Tony Thigpen

Ngan, Robert (DXC Luxoft) wrote on 7/9/24 10:58 AM:
> Oops, accidently replied directly to João.
>
> Not sure why you need it for LA, but when I need this, I use:
>
> MVC   target(6),=AL2(4,C'te',C'xt')
>
> You could use:
>
> LA    1, =AL2(4,C'te',C'xt')
> LA    2, =AL2(4,C'te',C'xt')+2
>
> But that's ugly. Use of consecutive named fields as others suggested would be 
> the simplest approach.
>
> Robert Ngan
> DXC Luxoft
>
> P.S. João, In my original reply there was a typo, I used +1 instead of +2 on 
> the second LA.
>
> -----Original Message-----
> From: IBM Mainframe Assembler List <ASSEMBLER-LIST@LISTSERV.UGA.EDU> On 
> Behalf Of João Reginato
> Sent: Monday, July 8, 2024 08:48
> To: ASSEMBLER-LIST@LISTSERV.UGA.EDU
> Subject: using 2 consecutives areas
> Importance: Low
>
> Hi
>
>
>
> What can I do to guarantee that the 2 literals below are consecutives in the 
> literal pool?
>
>
>
> La           1,=al2(4)
>
> La           2,=cl4'text'
>
>
>
>
>
> TIA
>
> João


Reply via email to