On Thu, Sep 19, 2002 at 07:13:10AM +0000, Pete Turnbull wrote:
> On Wed, Sep 18, 2002 at 08:05:27AM +0000, Pete
Turnbull wrote:
I tried the
real MACRO (under RSX-11M) and it adds an apostrophe to the
initial setting of . (which is what I'd expect, since . was never given
a numeric value, only incremented from its default) but still no
apostrophes
after the addresses later in the listing.
I don't have any listing readily to hand. Were the addresses shown as the
target addresses, or the offsets required to reach those tagets?
Offsets The listing is almost the same as Patrick's. The column alignment
is slightly different, HALT has no built-in definition and produces an error,
and MACRO included page headers, the symbol table, and statistics. (I didn't
copy any of that.)
1 000000' LC=.
2 001000' .=LC+1000
3
4 177564 XSR=177564
5 177566 XBUF=177566
6
7 001000 012767 000110 177566' MOV #110,XBUF
8 001006 105767 177564' L1: TSTB XSR
9 001012 100375 BPL L1
10 001014 012767 000064 177566' MOV #64,XBUF
11 001022 105767 177564' L2: TSTB XSR
12 001026 100375 BPL L2
13 001030 012767 000130 177566' MOV #130,XBUF
14 001036 105767 177564' L3: TSTB XSR
15 001042 100375 BPL L3
16 001044 012767 000060 177566' MOV #60,XBUF
17 001052 105767 177564' L4: TSTB XSR
18 001056 100375 BPL L4
19 001060 012767 000122 177566' MOV #122,XBUF
20 001066 105767 177564' L5: TSTB XSR
21 001072 100375 BPL L5
22 001074 000005 RESET
23 001076 000000 HALT
E 0
-- Derek