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=-1.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HTML_MESSAGE,MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 1639 invoked from network); 6 Jan 2022 03:38:31 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 6 Jan 2022 03:38:31 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id BD8019C6F4; Thu, 6 Jan 2022 13:38:29 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id E501F9C6E5; Thu, 6 Jan 2022 13:38:14 +1000 (AEST) Authentication-Results: minnie.tuhs.org; dkim=pass (2048-bit key; unprotected) header.d=bsdimp-com.20210112.gappssmtp.com header.i=@bsdimp-com.20210112.gappssmtp.com header.b="JHfbbmM0"; dkim-atps=neutral Received: by minnie.tuhs.org (Postfix, from userid 112) id 646209C6E5; Thu, 6 Jan 2022 13:38:12 +1000 (AEST) Received: from mail-ua1-f45.google.com (mail-ua1-f45.google.com [209.85.222.45]) by minnie.tuhs.org (Postfix) with ESMTPS id EA20094A6B for ; Thu, 6 Jan 2022 13:38:10 +1000 (AEST) Received: by mail-ua1-f45.google.com with SMTP id e19so2017006uaa.11 for ; Wed, 05 Jan 2022 19:38:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=SKVfyx1jA5jPXM46h7nZbAxefL2N4Kl1B9DAUp3IjCU=; b=JHfbbmM04qHmnww+KJKlcIYPFGUNxPZPb9xx836oL2HIQwBp0SNqy7t/EXRNjZUlAZ ZYCHqsdjacAbTklMRBtG3PWMTdh/f1aTy5+w17xyr6GHfRAzZq7AtCbYw/r5YYu8y0jB uBu8MdjOJukTFXHtjjhKQT43drSpGBaXSBAJJTJ3V7D8BMk6BxI0dgoghIPIQ4bX6Puk eh2WlxrDsuTapgBrihXyCVRfrtYLJrcylbBb7yOlKm4SAZM5qxx85aXbVEkIqj6bal1g eptGnjeV9zsKfgQTh4TyEdn8Gg6slfRb+abasWKK2YjhEyI08GLD8p6340J02kbmU1Ws 3+TA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=SKVfyx1jA5jPXM46h7nZbAxefL2N4Kl1B9DAUp3IjCU=; b=SGTBvzFHHvK/6QlIUEzs1Xj0HIhrvxqiPmlB+JDtmkK1auETO/R94QeBi+zxb3dR4t nbjqvAGbq2mE7xD1x9lvB5TuzY7hNm+oPoCgQoZ6qdYB40/+v/J9ln9wjatCuQA6ifiM CUW95Fx3vLNKvyrvCM9/RW4JBtSgUxYTcBk8mgPkF5AYHrqhDmYwH7klaaZjTdKIsAi1 /tY3BQDfQuIbTnh1YbFrYyI1y2TgDcG06WONec2BPKbxoh4f6UKRMFYWRQuqyQ7ASsew G1PzGGZMck50bz7dmaXP8vF4gJA3fSPR62ZA0mFvE+YPN/sYkZaBfamNPRDJnwBA87bu AT4A== X-Gm-Message-State: AOAM530tFXZhvlTYWbt2xncjpQAkcgp6XTccG37cExHY+Fpvcuw5gRv4 cjAH7fXoEWgoGpV04CF9q431P2vXQ6Y6y2XV7+oyiA== X-Google-Smtp-Source: ABdhPJx/yOiGW45p8Q/5jbQ2jbutD63Et+At2KiDR9hoSd9OQNoL1MY1NKKVNcHJ5Xtaj5MmXrncCuPnC/cGunDW0CQ= X-Received: by 2002:a05:6102:ed3:: with SMTP id m19mr19101648vst.68.1641440289795; Wed, 05 Jan 2022 19:38:09 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Warner Losh Date: Wed, 5 Jan 2022 20:37:58 -0700 Message-ID: To: Douglas McIlroy Content-Type: multipart/alternative; boundary="00000000000064ccea05d4e19922" Subject: Re: [TUHS] asm helper routines in v7 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" --00000000000064ccea05d4e19922 Content-Type: text/plain; charset="UTF-8" On Wed, Jan 5, 2022, 8:27 PM Douglas McIlroy wrote: > > It would be nice to hear about the rationale from a primary source. > > Assembly language was deemed a last resort, especially as portability > was coming to the fore. As I wrote in A Research Unix Reader, > "Assembly language and magic constants gradually declined from the > status of the 'real truth' (v4) to utterly forgotten (v8)." In v7, > assembler usage was demoted to the bottom of syscall man pages. It > could also be found in /usr/src/libc/sys/*.s > That makes a lot of sense. I've found errors and omissions in the assembler documentation for the odd system call for V7 and System III ports. A little sloppy I thought when I noticed. I'll have to see if I can dig one up again... Warner > --00000000000064ccea05d4e19922 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


--00000000000064ccea05d4e19922--