I'm not sure what LINK does, and what input it
needs. It's a long time
since I used MACRO-11, but I'd have expected it to generate the "correct"
values, for a start. What Pat's output showed was:
7 001000 012767 000110 177566' MOV #110,XBUF
What it shows is the address which is supposed to be referenced.
The flag lets you know that relocation will be applied at link
time.
If it were to use the offset information in the listing, one
would have to do the calculation to see where it was actually
addressing (unless the listing were to add that info, but then
it would be too busy a listing, and comments would fall off the
edge of the paper since there wouldn't be room).
Not to mention the fact that the offset to an absolute location
would be different if the code were linked at a different location.
Megan Gentry
Former RT-11 Developer
+--------------------------------+-------------------------------------+
| Megan Gentry, EMT/B, PP-ASEL | email: gentry at
zk3.dec.com (work) |
| Unix Support Engineering Group | mbg at
world.std.com (home) |
| Hewlett Packard | (s/ at /@/) |
| 110 Spitbrook Rd. ZK03-2/T43 | URL:
http://world.std.com/~mbg/ |
| Nashua, NH 03062 | "pdp-11 programmer - some assembler |
| (603) 884 1055 (DEC '77-'98) | required." - mbg KB1FCA |
+--------------------------------+-------------------------------------+