----- Original Message ----
From: "McKown, John" <john.mck...@healthmarkets.com>
To: IBM-MAIN@LISTSERV.UA.EDU
Sent: Wed, November 28, 2012 4:06:00 PM
Subject: Re: Usefullness (or not) of STOC/LOC instructions?

> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU]
> On Behalf Of Kirk Talman
> Sent: Wednesday, November 28, 2012 2:26 PM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: Usefullness (or not) of STOC/LOC instructions?
> 


> I guess, in my case, it is a combination of esthetics and being concerned 
> about 
>possible AR mode considerations. In AR mode:

>    L    R2,0(,R1)
> and
>   L    R2,0(R1)

> will likely result in greatly different values being loaded into R2 if the 
>contents of AR1 <> primary address space. 
>

The latter can also run into issues in AMODE 64.  The index register is always 
32 bits, not 24, 31, or 64 depending upon AMODE.  Waste the extra nano-second, 
use the comma.  It is meaningful.

Lloyd

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to