HLASM doesn't do "obviously I meant" (aka DWIM). The source address register is ignored, doesn't have to be cleared, and will not be changed, when the source length is 0. btw, the cool modern way to set that with one instruction is LLILH Rx,x'4000' (e.g.). Fair warning, this clears the high-word, if that matters to your program or environment.
sas On Thu, Aug 17, 2017 at 11:27 AM, Robin Vowels <[email protected]> wrote: > From: "Charles Mills" <[email protected]> > Sent: Friday, August 18, 2017 1:04 AM > > >> I'd need a whole lot more than two SR R2,0's. > > > Obviously I meant SR R2,R2. > > > --- > This email has been checked for viruses by Avast antivirus software. > https://www.avast.com/antivirus -- sas
