From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from minnie.tuhs.org (minnie.tuhs.org [45.79.103.53]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id 64fea16f for ; Mon, 28 Oct 2019 20:47:00 +0000 (UTC) Received: by minnie.tuhs.org (Postfix, from userid 112) id 481059BC4C; Tue, 29 Oct 2019 06:46:59 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 899BA9B5BF; Tue, 29 Oct 2019 06:46:43 +1000 (AEST) Received: by minnie.tuhs.org (Postfix, from userid 112) id 1068E9B5BF; Tue, 29 Oct 2019 06:46:41 +1000 (AEST) X-Greylist: delayed 1950 seconds by postgrey-1.36 at minnie.tuhs.org; Tue, 29 Oct 2019 06:46:40 AEST Received: from fuz.su (fuz.su [5.135.162.8]) by minnie.tuhs.org (Postfix) with ESMTPS id 72D269B57D for ; Tue, 29 Oct 2019 06:46:40 +1000 (AEST) Received: from fuz.su (localhost [127.0.0.1]) by fuz.su (8.15.2/8.15.2) with ESMTPS id x9SKE8E3037233 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Mon, 28 Oct 2019 21:14:08 +0100 (CET) (envelope-from fuz@fuz.su) Received: (from fuz@localhost) by fuz.su (8.15.2/8.15.2/Submit) id x9SKE82R037232 for tuhs@minnie.tuhs.org.; Mon, 28 Oct 2019 21:14:08 +0100 (CET) (envelope-from fuz) Date: Mon, 28 Oct 2019 21:14:08 +0100 From: Robert Clausecker To: tuhs@minnie.tuhs.org Message-ID: <20191028201408.GA37167@fuz.su> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.12.2 (2019-09-21) Subject: [TUHS] Design of the AT&T assembly syntax 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" Some time ago, I wrote a piece [1] about the design of the AT&T assembler syntax. While I'm still not quite sure if everything in there is correct, this explanation seemed plausible to me; the PDP-11 assembler being adapted for the 8086, then the 80386 and then ELF targets, giving us today's convoluted syntax. The one thing in this chain I have never found is an AT&T style assembler for x86 before ELF was introduced. Supposedly, it would get away without % as a register prefix, thus being much less obnoxious to use. Any idea if such an assembler ever existed and if yes where? I suppose Xenix might have shipped something like that. The only AT&T syntax assemblers I know today are those from Solaris, the GNU project, the LLVM project, and possibly whatever macOS ships. Are there (or where there) any other x86 AT&T assemblers? Who was the first party to introduce this? Yours, Robert Clausecker [1]: https://stackoverflow.com/a/42250270/417501 -- () ascii ribbon campaign - for an 8-bit clean world /\ - against html email - against proprietary attachments