Roger wrote:

> I don't think R0 has ever worked as a base register.  Try another.

(after I wrote)
>> I wonder if USING 0,0 and USING 4096,1 should work correctly.

>> I have tried it with START 1000, and START 5000, respectively,
>> such that addresses are in the appropriate range, but, using
>> the Tachyon assembler, get addressability errors.

R0 works fine in the first 4K of core, which happens half the time
on an 8K core machine.

Convincing the assembler that you aren't using relative addressing
is harder.  From Tachyonsoft, and it seems to work like:

MYPROG  START 1000
        USING MYPROG,0

seems to work.  It looks to me like it should generate displacements
from 1000 (the address of MYPROG), but it generates them from zero.

The program is then loaded into core starting at 1000, and addressing
works just fine. 

I haven't tried this in an IBM assembler yet, though.

-- glen 

Reply via email to