You forgot to specify whether the top 32 bits of R0 and R15 must be zero after the lower 32 bits have been manipulated. Assuming that you do, then:
LLGFR 15,3 /* Load bits 32-63 in R3 into bits 32-63 of R15 and clear bits 0-31 of R15 */ XGR 0,0 /* Initialize 64-bit R0 to zero */ SLLG R0,R3,32 /* Shift bits 0-31 in R3 to bits 32-63 in R0 */ The original contents of R3 is preserved and the above can be executed in any AMODE Best regards, Andre ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
