From owner-freebsd-questions Thu Apr 23 12:51:24 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA14298 for freebsd-questions-outgoing; Thu, 23 Apr 1998 12:51:24 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from ultra1.dreamscape.com (ultra1.dreamscape.com [206.64.128.7]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA14284 for ; Thu, 23 Apr 1998 12:50:56 -0700 (PDT) (envelope-from aaron@csh.rit.edu) Received: from thud.homenet (ub8.dreamscape.com [206.114.185.105]) by ultra1.dreamscape.com (8.8.5/8.8.4) with ESMTP id PAA16549; Thu, 23 Apr 1998 15:50:51 -0400 (EDT) Received: (from aaron@localhost) by thud.homenet (8.8.7/8.8.7) id PAA01592; Thu, 23 Apr 1998 15:50:18 -0400 (EDT) (envelope-from aaron) Message-ID: <19980423155017.13991@homenet> Date: Thu, 23 Apr 1998 15:50:17 -0400 From: Aaron Jeremias Luz To: Jan Koum Cc: questions@FreeBSD.ORG Subject: Re: Assembly under FreeBSD References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.84e In-Reply-To: ; from Jan Koum on Wed, Apr 22, 1998 at 04:27:40PM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Apr 22, 1998 at 04:27:40PM -0700, Jan Koum wrote: > > Hello all, > > I want to do assembly under FreeBSD. No more DOS crap. What I > would like to find out is if there are any HOW-TOs, FAQ, books or ANY > materials on this topic? Doing "man as" wouldn't help me as much since I > am just a beginner (just like "man cc" won't teach you C, "man as" won't > teach you assembly I guess). Thanks, > > -- Yan > > Jan Koum jkb@best.com | "Turn up the lights; I don't want > www.FreeBSD.org -- The Power to Serve | to go home in the dark." > Linux -- Window95 of the Unix world. Well, since no one seems to have replied yet, I can offer you a pointer to the Linux Assembly-HOWTO. I'm guessing that most of it applies to FreeBSD as well. Something you can do to work out the FreeBSD specifics is write a very simple C program and compile it with "cc -S". The "-S" switch tells cc to compile your program but not to assemble it. The assembly listing is written with an extention of ".s". or Have fun, Aaron To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message