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,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 31754 invoked from network); 20 May 2023 04:13:43 -0000 Received: from minnie.tuhs.org (2600:3c01:e000:146::1) by inbox.vuxu.org with ESMTPUTF8; 20 May 2023 04:13:43 -0000 Received: from minnie.tuhs.org (localhost [IPv6:::1]) by minnie.tuhs.org (Postfix) with ESMTP id 80EFC41089; Sat, 20 May 2023 14:13:37 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuhs.org; s=dkim; t=1684556017; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post; bh=8sH/crp8VgJS22cE09aJcVVHeo6biU8ghcML0jwwCa8=; b=NFTBkqSbazJlT/I/nOUpRkNdOop1GrO/8sFLegcvYH3qXri93LfLckfvWTLc9kYw+XNgWc dgccbZxqdvgGNwmydMPLxUUuMjnbPLx7LMFA83qJayLCyZBaQqn3J8b+OMYdD9mnf/2sgx 74DCAGX4O7g5aWIO793xFPbIa9nI4wI= Received: from mail-4325.protonmail.ch (mail-4325.protonmail.ch [185.70.43.25]) by minnie.tuhs.org (Postfix) with ESMTPS id 9DE7A41088 for ; Sat, 20 May 2023 14:13:28 +1000 (AEST) Date: Sat, 20 May 2023 04:13:12 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1684556005; x=1684815205; bh=8sH/crp8VgJS22cE09aJcVVHeo6biU8ghcML0jwwCa8=; h=Date:To:From:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=TDgps5PyFaw8f6ARU+QB0jfDqK40j8ZXcYhhAxGvHMBKpsebmlOIMDH+Usn4nNz4x CX4ZhMTKtSvhCiIxqkNTji319d7ZO+chrF2SqHCyLI4l6h4i36G+2/fow5z0mvhJvf NQYv3y4FwPuFHMV345FN6wD2sUbbKjFLaR+I3uUmysja5+3DcKnHUoj6+qWo7MoNyV M8rpnn8TTKDe0w9lBpRy3TyZ9Hxibercc98wMNU8lyC/10i1/fafAtEj7+FWPHySH2 aYD0lRtkVLIobZvHGWewtGunCgwd9E+qmNq2z/s5qKpxNltpwkFLj2U1PG22VVqYqE HuPDaKcGG9nvA== To: The Eunuchs Hysterical Society Message-ID: <9aOA0GH7FSvgFIs5EWZeEQqoCTKik2hOJYH0P14ddgDPiUUAqSe0MmATyey9D7Tqm6XTfvlsCxJNvZn-kukgp18V8EentRXWTs9jgLJRyIk=@protonmail.com> In-Reply-To: <20230520020457.BA28718C074@mercury.lcs.mit.edu> References: <20230520020457.BA28718C074@mercury.lcs.mit.edu> Feedback-ID: 35591162:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Message-ID-Hash: UMEBKFHXV6RIQP6X5LCFHTC2T4KE5RQR X-Message-ID-Hash: UMEBKFHXV6RIQP6X5LCFHTC2T4KE5RQR X-MailFrom: segaloco@protonmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.6b1 Precedence: list Subject: [TUHS] Re: A Census of /etc and /sys Prior to V4 List-Id: The Unix Heritage Society mailing list Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: segaloco via TUHS Reply-To: segaloco > > ac and mq EAE registers are still in use in s2-bits binaries > > but have been replaced by s1-bits. >=20 > Interesting. How did you work that out, BTW? Regarding the EAE registers, in as19.s[1], there is this set of mappings: 012717;000000;01;177570 /csw 015176;000000;01;177300 /div 003270;000000;01;177302 /ac 051750;000000;01;177304 /mq 052224;000000;01;177306 /mul 073470;000000;01;177310 /sc 074620;000000;01;177311 /sr 054752;000000;01;177312 /nor 047000;000000;01;177314 /lsh 004500;000000;01;177316 /ash Among others, here we have the mappings for ac, mq, mul, and div. In the disassembled source of df(I) from s2-bits[2], at the second 9 label,= ac, mq, div, and mul are used to perform a division by 10 (I think, my PDP= -11-fu isn't *that* strong yet): 9: =09clr=09ac =09mov=09$10.,div =09mov=09ac,-(sp) =09tst=09mq =09beq=092f =09jsr=09pc,9b In the disassembler output (I used pdp11dasm[3]) these values were all the = same addresses as the above table from as(I). In the source df.s under the V2/cmd section[4], this is instead replaced by= use of the dvd opcode: 9: =09clr=09r2 =09dvd=09$10.,r2 =09mov=09r3,-(sp) =09mov=09r2,r3 =09beq=092f =09jsr=09pc,9b I've seen this sort of thing consistently as I comb through files in s2-bit= s, using stuff from s1-bits and V5 as references. [1] - https://www.tuhs.org/cgi-bin/utree.pl?file=3DV2/cmd/as19.s [2] - https://gitlab.com/segaloco/v2src/-/raw/master/cmd/df.s [3] - https://github.com/caldwell/pdp11dasm [4] - https://www.tuhs.org/cgi-bin/utree.pl?file=3DV2/cmd/df.s - Matt G.