On Tue, 12 Jun 2012 14:20:03 -0700, Frank Swarbrick wrote: >So it sounds like the original author should have never used >R15 in the first place for the base register.
Right. The linkage conventions call for the preservation of registers 2-13 only. Register 13 is the address of your save area. You should also beware that register 2 is used by TRT. That leaves registers 3-12 that are useful as base registers. >I've been reading about "baseless" programming I really wish people wouldn't call it "baseless". Base registers are still necessary and attempts to avoid them altogether results in the kind of strange coding that John McKown included in his other post. -- Tom Marchant
