Hmm, what about RISBG R0,R13,0,31,32 - since someone brought up these instructions? Assuming it's on the CPU of course. Should impress other programmers no end. I missed the start of the thread so I'm not sure what the original issue was.
(Another of those reply to sender things caught me out here. Anyway...) -----Ursprüngliche Nachricht----- Von: IBM Mainframe Assembler List [mailto:[email protected]] Im Auftrag von Bob Raicer Gesendet: Donnerstag, 27. Juni 2013 15:47 An: [email protected] Betreff: Re: how to: document usage of bit(s) of a register. If what you're really trying to do is to copy the low order 32 bits of GPR 13 into the high order 32 bits of GPR 0, while leaving the low order 32 bits of GPR 0 unchanged, then the following I-stream will do the job. RLLG R0,R0,32(0) Exchange the high order and * low order 32 bits of GPR 0. * LR R0,R13 Copy the low order 32 bits * of GPR 13 into the low * order 32 bits of GPR 0. * RLLG R0,R0,32(0) Exchange the high order and * low order 32 bits of GPR 0. * * The high order 32 bits of * GPR 0 now contain a copy of * the low order 32 bits of * GPR 13. * * The low order 32 bits of * GPR 0 are what they were * prior to the first RLLG. Bob
