From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HTML_MESSAGE,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 4807 invoked from network); 11 Jun 2020 15:58:33 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 11 Jun 2020 15:58:33 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id 7EF3D945E2; Fri, 12 Jun 2020 01:58:29 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id BCF9B945CC; Fri, 12 Jun 2020 01:58:01 +1000 (AEST) Authentication-Results: minnie.tuhs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=bsdimp-com.20150623.gappssmtp.com header.i=@bsdimp-com.20150623.gappssmtp.com header.b="ssc+ET8X"; dkim-atps=neutral Received: by minnie.tuhs.org (Postfix, from userid 112) id 8216E945CC; Fri, 12 Jun 2020 01:57:59 +1000 (AEST) Received: from mail-qk1-f182.google.com (mail-qk1-f182.google.com [209.85.222.182]) by minnie.tuhs.org (Postfix) with ESMTPS id ED6D0945CA for ; Fri, 12 Jun 2020 01:57:58 +1000 (AEST) Received: by mail-qk1-f182.google.com with SMTP id c185so6035028qke.7 for ; Thu, 11 Jun 2020 08:57:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=RHLSEe0xz86wbBVj29TaVVbFrt1smHF7bR9swrTHGEk=; b=ssc+ET8XmaVLbkpaTnewqfuzMyeeb/17dH1DSg1QDoaLYIb2TBBbwreTss75y+uyiD rY/oc7S25UwIiDMWMUjyYGVFpS4bCQQypod3kZfOH/V/QUw/7rmzxH+ej6pA2+qPpqQP nd4+y59Ohz75QrURK2GZ0/zAURNdNuH0cjruU1oG6Al5/tjyLjpSKFyFl8mLI/Pq0prr VJgl2da1a3Ca4yI0EnulKRnokMs+YId+U8yeJTxZ4BvcuhA0Mhr/cj3Jf2m9B8OUlyQh gekZ8d+pf9L/cXWgdFgJ3toZZPa34WIadHMoxOzoU29x7nVCK09UGsDKTSLbuIhntIu2 v5Eg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=RHLSEe0xz86wbBVj29TaVVbFrt1smHF7bR9swrTHGEk=; b=Af/UM42htP4FwK4jMW15otDCkxMmEeM2ozpAFtYKTNYvL6/4DFi44b2mYXVzExpKx6 Ei/2fysxe1lY3dRHrrDESj2OJsiXpBOV3scu5BtU2SWyc7BHV9tA/fVapaXorPrltbyb UQKfIK/s7ukM+JQ9T023+3peUSuxD/tGgrwgWV4Ik26mg/Hy/aL4oN3ysjc4SMIbUVD1 xTxCM3D9qvCeHVcyc+nlqOluYlxz0XyRqw42EqnYMnouaQddYhFHPWJB4f/k6uzUhpAq 0aRGBgY4v8r9H/vy+SI4WI16tcHqSDAir4DUtKg0IeCM7NM/G/ismaWJhnE28S+HhkLU o8BQ== X-Gm-Message-State: AOAM532OK7MW4Qeirg2nEcmxahlchadn9P5c8x8TmvUvrX9605/gWwRj HlLXYmh9l9niO35RN4BHdvtunnBzjiaV6UtJIOBEVlC0nvY= X-Google-Smtp-Source: ABdhPJwam7mWi0xzpnC2FLT11BiADVDi5ne9EzU1p/+PfNazLVP7ael9HRI7jpxZ2ZaAzoR1+0c8U2NVrThi/u62HpA= X-Received: by 2002:a05:620a:2050:: with SMTP id d16mr9544925qka.215.1591891078003; Thu, 11 Jun 2020 08:57:58 -0700 (PDT) MIME-Version: 1.0 References: <84BE6471-7004-466E-BE0C-2622DD2D41A3@planet.nl> In-Reply-To: <84BE6471-7004-466E-BE0C-2622DD2D41A3@planet.nl> From: Warner Losh Date: Thu, 11 Jun 2020 09:57:47 -0600 Message-ID: To: Paul Ruizendaal Content-Type: multipart/alternative; boundary="00000000000039d48805a7d106b8" Subject: Re: [TUHS] Unix V6: Assembler Listings X-BeenThere: tuhs@minnie.tuhs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: The Unix Heritage Society mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: TUHS main list Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" --00000000000039d48805a7d106b8 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Jun 11, 2020 at 9:27 AM Paul Ruizendaal 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 =E2=80=98as=E2= =80=99 was written > in assembler and not so easy to use as a base. Hence I used Richard=E2=80= =99s > Miller=E2=80=99s AS for the Interdata as a base (available on Tuhs): > https://www.tuhs.org/cgi-bin/utree.pl?file=3DInterdata732/usr/source/as > > Later I discovered that the TUHS archive has source code for the original > =E2=80=98as=E2=80=99 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 =E2=80=98as=E2=80=99 is = another possible > route. There's also https://minnie.tuhs.org/cgi-bin/utree.pl?file=3D2.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 --00000000000039d48805a7d106b8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
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 meagr= e. I can't find
> an option to produce a text listing. Is it possible from AS, using com= mand
> options (I can't see one)=C2=A0 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 =E2=80=98as=E2=80=99 = was written in assembler and not so easy to use as a base. Hence I used Ric= hard=E2=80=99s Miller=E2=80=99s AS for the Interdata as a base (available o= n Tuhs):
https://www.tuhs.org/cgi-bin/= utree.pl?file=3DInterdata732/usr/source/as

Later I discovered that the TUHS archive has source code for the original = =E2=80=98as=E2=80=99 rewritten in C, a work by Roger Jaeger:
https://minnie.tuhs.org/Archive/Distrib= utions/USDL/Mini-Unix/

Maybe adding a listing module to this version of =E2=80=98as=E2=80=99 is an= other possible route.

There's also=C2= =A0https://minnie.tuhs.org/cgi-bin/utree.pl?file=3D2.11BSD/sr= c/new/m11/macxrf.c=C2=A0which 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 eas= y to adopt to AT&T/Bell syntax which decorates things less, making it a= little harder to infer semantic meanings.

Also mo= re digging shows the UNSW tapes / sources also are from Harvard. All roads = lead to Harvard for this it seems :)=C2=A0

Warner<= /div>
--00000000000039d48805a7d106b8--