Re: RES: Weird location counter

2022-04-05 Thread Jonathan Scott
Ref: Your note of Tue, 5 Apr 2022 12:09:44 + Shmuel (Seymour J.) Metz writes: > What is the effect if both end and upper limit are present? That should be > documented in the reference manual. The USING statement is only used to resolve an address if all relevant constraints are satisfied.

Re: RES: Weird location counter

2022-04-05 Thread Seymour J Metz
Jonathan Scott [jonathan_sc...@vnet.ibm.com] Sent: Tuesday, April 5, 2022 5:37 AM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: Re: RES: Weird location counter This problem is a side-effect of the way in which dependent USING actually works. When you declare that field LKINFO can be based on WKINFO

Re: RES: Weird location counter

2022-04-05 Thread Jonathan Scott
This problem is a side-effect of the way in which dependent USING actually works. When you declare that field LKINFO can be based on WKINFO, you are effectively telling HLASM it can assume that R13 points to LKINFO-(WKINFO offset from R13). So when it goes past that offset, it assumes it can use

RES: Weird location counter

2022-04-04 Thread João Reginato
> On Mon, 4 Apr 2022 at 15:45, João Reginato wrote: > > > > Thank you all for the comments. > > What I'm trying to do is simply to map a dynamic data area (WKINFO) using > a static one (LKINFO). > > > > Any references to data after LKINFO will be in fact referencing the dynamic > area after WKINFO

RES: Weird location counter

2022-04-04 Thread João Reginato
Thank you all for the comments. What I'm trying to do is simply to map a dynamic data area (WKINFO) using a static one (LKINFO). Any references to data after LKINFO will be in fact referencing the dynamic area after WKINFO instead. And it worked fine until that point inside the PATCH_AREA where t