I would guess that the coder might want to refer to the home or other non-AR
address space.

L R1,8(,R2) would load from the address space pointed to by AR2.

L R1,8(R2) or (R2,0) would load from the non-AR address space, which might
be what was wanted ("the right address space").

This technique would effectively let the coder use R2 in her choice of AR or
non-AR modes, without switching modes.

Charles


-----Original Message-----
From: IBM Mainframe Assembler List [mailto:[email protected]]
On Behalf Of Seymour J Metz
Sent: Sunday, January 24, 2021 6:35 AM
To: [email protected]
Subject: Re: Help with EZASMI assembly

I don't understand. An instruction with a zerow base does not use the AR
associated with the index, so why won't it refer to the wrong AS when in AR
mode?

Reply via email to