[comp.sys.m68k] PC-relative addressing

mazur@inmet (Beth Mazur) (03/25/88)

I'm having a discussion with some co-workers about what an assembler should
do with an effective address of, for example, $20(PC).  I think an assembler
should treat $20 as an offset, a co-worker thinks that an assembler should
treat $20 as an address.

All published literature that I have seen tends to support my point.  But
my co-worker argues that this is a can of worms  - then what do you do with
 
     tag      equ    $20
              move   tag(pc),d0

My co-worker alos claims that Motorola's 68k assembler treats $20 as an address.

So I'm just soliciting opinions.  I'd appreciate it if you'd mail them to
me, as we seem to not get all articles.  I'll be glad to summarize if there
is a large response.  Thanks in advance.
-- 
Beth Mazur
{ihnp4, ima, mirror}!inmet!mazur
mazur@inmet.com