Robert, Thank you I appreciate the help been writing assembler a long time but not consistently every day. I have had to wear many function hats, sysprog vm,VSE,CICS,vtam ,tcpip, network engineer, etc. So I got rusty in assembler, I think everyone on here are very helpful..and it is appreciated.
Scott ford www.identityforge.com On Jun 3, 2012, at 12:30 AM, "Robert A. Rosenberg" <[email protected]> wrote: > At 15:49 -0700 on 06/02/2012, Trivers Software wrote about Re: Base registers: > >> I agree with Chuck, in fact this is on our interview test! >> anyone who sets up the 2nd -> nn base registers with 4095, has obviously >> never had to prepare maint. via a zap! >> So they would never be hired! > > Once I have a 3rd base register, I use this sequence (in lieu of the > two instruction per register LA RX,2048... version) to load. If my > BASE is R12, and I want to add R9-R11 as extra bases: > > LA R9,4095 Prime R9 with 4096 > LA R11,1(R9,R12) R11=R12+4096 > LA R10,1(R9,R11) R10=R11+4096 > LA R9,1(R9,R10) R9=R10+4096
