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.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 32492 invoked from network); 6 Jan 2022 03:26:53 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 6 Jan 2022 03:26:53 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id 961889C712; Thu, 6 Jan 2022 13:26:50 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 657B59C6E6; Thu, 6 Jan 2022 13:26:30 +1000 (AEST) Authentication-Results: minnie.tuhs.org; dkim=pass (2048-bit key; unprotected) header.d=dartmouth.edu header.i=@dartmouth.edu header.b="yfFMqguy"; dkim-atps=neutral Received: by minnie.tuhs.org (Postfix, from userid 112) id 32CBE9C6E5; Thu, 6 Jan 2022 13:26:28 +1000 (AEST) Received: from mail-wr1-f42.google.com (mail-wr1-f42.google.com [209.85.221.42]) by minnie.tuhs.org (Postfix) with ESMTPS id 6E32694A6B for ; Thu, 6 Jan 2022 13:26:27 +1000 (AEST) Received: by mail-wr1-f42.google.com with SMTP id o3so2074045wrh.10 for ; Wed, 05 Jan 2022 19:26:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dartmouth.edu; s=google1; h=mime-version:from:date:message-id:subject:to; bh=5jFlIELvkiCHa5Rco4IXWh6u6C5rZBj21FKSV1ji3UM=; b=yfFMqguycLBKqAe76jm94+UQNOPtZGSVruW0yqpatCCvfTCKcXpPmvZ+VvisfWRckc pOOx0n/3ySfnfaEGRZ1IfUOPoehnHhfwn+cMCb6f504iDK8+el75wKOggWw8gj+/emlO ZiEjUs3CPzSNLy9QmakIxhARtOHTo0+POeNOiS6lO9LKhx0k+TRjYws2r44bT686JGq5 hh7tNcYZ+oO+DMhatZN85YvYGGMQ91966kcQgiuZOx+X7rauIEprcb/LAHA5xgTXX1Ae v+mdKFcw9TcIKljsta4+LKim6tb2ZpPffg/ras+PJEGbNblw3hEbLRf7+AtwM8kbXxn1 ecsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=5jFlIELvkiCHa5Rco4IXWh6u6C5rZBj21FKSV1ji3UM=; b=uF2mmR/CSz3vVmFLPiNRCEEomzvn0tpF7wN7rxDwS0W1ZHOgvrFz4wDvISfKqpgWH0 qmSVckWk3v1iEqJkqUYsNubc9X9DeENn3SjCjj3tibqOktjAhlgbtWBdLh4NSOToDNRL U0PHOS1lMdc2ZiK2boBPW4z6NrmnP/p9bqaDzG523m9th1PeH7E3HM9gVhwjgJ34zSVZ 4ZrnRldHDYS07MOqP8oDW+hUyO+uoI0Q5t++3iIT4+8fSTc9SVkcaAYt7nDBW0lmrUkD pGoqy00YB422ad+o3C7kPRVKk428VQm+Iu0eyRPnc0FGq0EiNSfWzjuYV5x2IS++0gWE esyg== X-Gm-Message-State: AOAM530P4S6XeoKhRlQ8PEEID0opt/9PDSEXbe9rTzf7Nfzh85aapIOk goVZeE7hj8Z4kBEldNC5Fx9Lx2jeaRntvMEpMU5Q0XhehJufcQ== X-Google-Smtp-Source: ABdhPJyML7wL3a+srGuXgQhy196ajNpCpTlRYZOfSbNjS5DDpdmxo1KNjxoR0Fm5DeC73uWOdWXVuAxDcDdZ2pJqBVw= X-Received: by 2002:adf:82d2:: with SMTP id 76mr49050509wrc.329.1641439585824; Wed, 05 Jan 2022 19:26:25 -0800 (PST) MIME-Version: 1.0 From: Douglas McIlroy Date: Wed, 5 Jan 2022 22:26:09 -0500 Message-ID: To: TUHS main list Content-Type: text/plain; charset="UTF-8" Subject: [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: , Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" > 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 Doug