> On Mar 6, 2020, at 5:53 PM, Robert Armstrong <[email protected]> wrote:
> 
> 
>  Another macro11 question - do the apostrophes in the listing indicate
> relocatable references, as they do in the DEC version?
> 
>  If so, then I don't think it's assembling this code correctly -
> 
> 
>       1                                        .TITLE  TEST RELOCATABLE
> REFERENCES
>       2 000000                                 .ASECT
>       3        001000                          .=1000
>       4
>       5        001234                  X == 1234
>       6
>       7 001000 005067  001234'                 CLR     X
>       8
> 
>  X should be an absolute address, not relocatable.
> 
> Bob

Well, X is absolute, as is the section, so the assembler can resolve the offset 
at assembly time.  If it did, the second word would be 000230.  But it looks 
like here it didn't do so, leaving the arithmetic up to the linker.

        paul

_______________________________________________
Simh mailing list
[email protected]
http://mailman.trailing-edge.com/mailman/listinfo/simh

Reply via email to