Your problem is documented in the example on page A-30: ROTATE THEN OR SELECTED BITS The following example illustrates the use of ROTATE THEN OR SELECTED BITS to rotate and combine selected bits of general registers 6 and 8. LG 6,=X'004C487040CF4600' LG 8,=X'C07FAF37FC968280' ROSBG 6,8,8,54,32
On completion, condition code 1 is set, and general register 6 is as follows: GR6: 00DECAF0C0FFEE00 Note that only bits 8-54 of the registers are ORed; bits 0-7 and 55-63 of general register 6 are not modified. Correcting this to add caffeine is left as an exercise for anyone who cares to. I'm continually amazed at the instructions the architecture has gotten vs. ones it hasn't. On Thu, Jun 27, 2013 at 8:53 AM, John McKown <[email protected]>wrote: > Missed that. Too early (local time) to be reading tech documents. "Waiter! > More caffeine!!" Hum, I wonder if that makes me a drug addict? > > -- sas
