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

Reply via email to