From owner-freebsd-questions Sat Jun 15 04:04:35 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id EAA16935 for questions-outgoing; Sat, 15 Jun 1996 04:04:35 -0700 (PDT) Received: from proxy.siemens.at (proxy.siemens.at [192.138.228.19]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id EAA16902 for ; Sat, 15 Jun 1996 04:04:29 -0700 (PDT) Received: from sol1.gud.siemens.co.at (sol-f.gud.siemens-austria) by proxy.siemens.at with SMTP id AA07335 (5.67a/IDA-1.5 for ); Sat, 15 Jun 1996 13:03:45 +0200 Received: from ws2301.gud.siemens.co.at by sol1.gud.siemens.co.at with smtp (Smail3.1.28.1 #7 for ) id m0uUt8r-00021RC; Sat, 15 Jun 96 13:03 MET DST Received: by ws2301.gud.siemens.co.at (1.37.109.16/1.37) id AA113416604; Sat, 15 Jun 1996 13:03:24 +0200 From: "Hr.Ladavac" Message-Id: <199606151103.AA113416604@ws2301.gud.siemens.co.at> Subject: Re: Assembler programming To: randyd@nconnect.net (Randy DuCharme) Date: Sat, 15 Jun 1996 13:03:23 +0200 (MESZ) Cc: questions@freebsd.org In-Reply-To: <31C18946.2807@nconnect.net> from "Randy DuCharme" at Jun 14, 96 10:46:14 am X-Mailer: ELM [version 2.4 PL24 ME8a] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In his e-mail Randy DuCharme wrote: > Greetings, > This may be another dumb question, but can one do 'pure' assembly > language programming under FreeBSD? If so, how? In DOS / WINNT I used > MASM 6.11. Any good books on this subject? Any recommendations on GOOD > reading on the GCC compiler & libraries? Of course you can. You could use gas, for instance (GNU assembler, a part of GCC.) As to why you *don't* want to do any pure assembly, see the -questions archives from about a month ago. (in a few words, the compiler will 99.9% of the time generate better code than a human; modern CPU pipelining makes for "interesting"(TM) optimization possibilities.) /Marino P.S. As someone said, documentation on C in unix is to be found in files ending on .c and .h, whereas for assembly one should peruse .s and .S :) > > Thanks > Randy >