The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: Warner Losh <imp@bsdimp.com>
To: Paul Ruizendaal <pnr@planet.nl>
Cc: TUHS main list <tuhs@minnie.tuhs.org>
Subject: Re: [TUHS] Unix V6: Assembler Listings
Date: Thu, 11 Jun 2020 09:57:47 -0600	[thread overview]
Message-ID: <CANCZdfpNigsangUzTRoqdZEaBPvbkD7RrP2LX+pf3ukpsnWe8A@mail.gmail.com> (raw)
In-Reply-To: <84BE6471-7004-466E-BE0C-2622DD2D41A3@planet.nl>

[-- Attachment #1: Type: text/plain, Size: 1533 bytes --]

On Thu, Jun 11, 2020 at 9:27 AM Paul Ruizendaal <pnr@planet.nl> wrote:

>
> > I am now writing code in assembly for the PDP-11. I remember reading
> > somewhere that the output from "AS" (my caps) is a bit meagre. I can't
> find
> > an option to produce a text listing. Is it possible from AS, using
> command
> > options (I can't see one)  or perhaps from "LD"?
> >
> > Paul
> >
> > *Paul Riley*
>
> I had the same problem. As I was porting to a different mini I had to
> write a new assembler. As you have undoubtedly seen, early ‘as’ was written
> in assembler and not so easy to use as a base. Hence I used Richard’s
> Miller’s AS for the Interdata as a base (available on Tuhs):
> https://www.tuhs.org/cgi-bin/utree.pl?file=Interdata732/usr/source/as
>
> Later I discovered that the TUHS archive has source code for the original
> ‘as’ rewritten in C, a work by Roger Jaeger:
> https://minnie.tuhs.org/Archive/Distributions/USDL/Mini-Unix/
>
> Maybe adding a listing module to this version of ‘as’ is another possible
> route.


There's also
https://minnie.tuhs.org/cgi-bin/utree.pl?file=2.11BSD/src/new/m11/macxrf.c
which
looks to be decent or better K&R code from a quick look, but I don't know
if it works, or if it would be easy to adopt to AT&T/Bell syntax which
decorates things less, making it a little harder to infer semantic meanings.

Also more digging shows the UNSW tapes / sources also are from Harvard. All
roads lead to Harvard for this it seems :)

Warner

[-- Attachment #2: Type: text/html, Size: 2290 bytes --]

  reply	other threads:[~2020-06-11 15:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-11 15:26 Paul Ruizendaal
2020-06-11 15:57 ` Warner Losh [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-06-11 11:38 Paul Riley
2020-06-11 12:55 ` Clem Cole
     [not found]   ` <9CCCBCA1-DD64-49EA-AD3E-8E2B9C548B99@icloud.com>
2020-06-11 13:40     ` Clem Cole
2020-06-11 14:56       ` Warner Losh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CANCZdfpNigsangUzTRoqdZEaBPvbkD7RrP2LX+pf3ukpsnWe8A@mail.gmail.com \
    --to=imp@bsdimp.com \
    --cc=pnr@planet.nl \
    --cc=tuhs@minnie.tuhs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).