Under ROTATE THEN INSERT SELECTED BITS the POP says:

1.  Although the bits 2-7 of the I5 field are defined to contain an unsigned 
binary integer specifying the number of bits that the second operand is rotated 
to the left, a negative value may be coded which effectively specifies a 
rotate-right amount.
> Date: Fri, 24 Jun 2016 17:54:26 -0400
> From: [email protected]
> Subject: Re: Simple assembler question
> To: [email protected]
> 
> On 24 June 2016 at 16:23, Blaicher, Christopher Y.
> <[email protected]> wrote:
> > And there are SRL, SRDL, SRAG and SRLG that rotate right.
> 
> Well, no, they *shift* right. There is no need for any instruction to
> rotate right. As I said, I spent an embarassing amount of time
> pondering why IBM provided only leftwards rotation, until the penny
> dropped. (I guess today it's the pound that's dropped... :-(  )
> 
> Tony H.
> 
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
                                          
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to