🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.folklore.computers
Article #620748

Re: xref Nostalgia

#620748
From: Scott Lurndal
Date: Fri, 02 Mar 2018 20:47
38 lines
3902 bytes
Bob Eager <news...@eager.cx> writes:
>On Fri, 02 Mar 2018 17:24:00 +0000, Charlie Gibbs wrote:
>
>> Perhaps I overgeneralized.  Indeed, a freestanding cross-reference
>> utility would have to do a lot of work to provide more than the line
>> number in which a symbol was defined and the line numbers in which it
>> was referenced.  The assembler or compiler, on the other hand, knows the
>> symbol's value, length attribute, type attribute, relocation attribute,
>> etc.  If it writes these out to a work file,
>> along with line numbers where the symbol is used, it's possible to
>> generate a pretty comprehensive report from the result.
>
>That is exactly what the DEC assemblers did on many of their systems.
>
>I was also, I suppose, making the point that the symbol table and the 
>cross reference have very different uses. A symbol table is usually more 
>cmpact (several columns) which can be useful.
>

I had combined them in the linux cross-assembler for Burroughs Medium Systems
that I wrote:

$ utilities/sprasm/sprasm utilities/sprasm/tests/test_mvr.sprasm
*                                                                               
* SPRASM Test Program.   Test MVR with IXreg                                    
*                                                                               
        SYNC 100                                                                
IOCBS   DATA 2000 UA                                                            000000 00000000000000000000000000000000000000000000000000...
                                                                                
START   MVN     IOCBS(LL), IX1          / Get an IOCB                           004000 11a607000000100008
        MVR (/00) =@00@, BASE:+X1(UN)   / And clear it.                         004018 14a20000ffff400000
HALT    HBR     HALT                    / Halt the processor                    004036 29004036

SYMBOL Offset MA Size   Type   Def'n   Cross-Reference
HALT   004036 01 000000 UN   [      9]       9
IOCBS  000000 00 002000 UA   [      5]       7
START  004000 01 000000 UN   [      7]
10 records assembled.  0 errors, 0 warnings
Technical Details
Message-ID: <tLimC.48552$Wm5.5068@fx14.iad>
Path: mbox-mo1.pugleaf.net!n14ni5536wmi.0!nntp.google.com!goblin2!goblin.stu.neva.ru!peer01.am4!peer.am4.highwinds-media.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!post01.iad!fx14.iad.POSTED!not-for-mail
References: <fennrjFber7U1@mid.individual.net> <slrnp98rhs.eu5.grahn+nntp@frailea.sa.invalid> <1463069258.541386219.019217.peter_flass-yahoo.com@news.eternal-september.org> <slrnp9e76p.eu5.grahn+nntp@frailea.sa.invalid> <p77oom$r49$1@gal.iecc.com> <p79gtm12msl@news1.newsguy.com> <p79vif$5vm$1@dont-email.me> <ffrevqF75bdU27@mid.individual.net> <p7a8cr13103@news1.newsguy.com> <ffske6F75bdU30@mid.individual.net> <p7c1bg01tq0@news2.newsguy.com> <fftnpjF75bdU35@mid.individual.net>

Show Full Headers
Complete Article Headers
X-Received: by 10.28.103.133 with SMTP id b127mr342349wmc.30.1520023643562;        Fri, 02 Mar 2018 12:47:23 -0800 (PST)
X-BeenThere: alt.folklore.computers@googlegroups.com
Received: by 10.28.139.200 with SMTP id n191ls475634wmd.11.canary-gmail; Fri, 02 Mar 2018 12:47:22 -0800 (PST)
X-Received: by 10.28.122.11 with SMTP id v11mr304191wmc.24.1520023642369;        Fri, 02 Mar 2018 12:47:22 -0800 (PST)
MIME-Version: 1.0
Path: mbox-mo1.pugleaf.net!n14ni5536wmi.0!nntp.google.com!goblin2!goblin.stu.neva.ru!peer01.am4!peer.am4.highwinds-media.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!post01.iad!fx14.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: scott@slp53.sl.home (Scott Lurndal)
Reply-To: sl...@pacbell.net
Subject: Re: xref Nostalgia
Newsgroups: alt.folklore.computers
References: <fennrjFber7U1@mid.individual.net> <slrnp98rhs.eu5.grahn+nntp@frailea.sa.invalid> <1463069258.541386219.019217.peter_flass-yahoo.com@news.eternal-september.org> <slrnp9e76p.eu5.grahn+nntp@frailea.sa.invalid> <p77oom$r49$1@gal.iecc.com> <p79gtm12msl@news1.newsguy.com> <p79vif$5vm$1@dont-email.me> <ffrevqF75bdU27@mid.individual.net> <p7a8cr13103@news1.newsguy.com> <ffske6F75bdU30@mid.individual.net> <p7c1bg01tq0@news2.newsguy.com> <fftnpjF75bdU35@mid.individual.net>
Lines: 39
Message-ID: <tLimC.48552$Wm5.5068@fx14.iad>
X-Complaints-To: ab...@usenetserver.com
NNTP-Posting-Date: Fri, 02 Mar 2018 20:47:21 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Fri, 02 Mar 2018 20:47:21 GMT
X-Received-Body-CRC: 1658475747
X-Received-Bytes: 3322
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit