Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Apr 1998 15:50:17 -0400
From:      Aaron Jeremias Luz <aaron@csh.rit.edu>
To:        Jan Koum <jkb@best.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Assembly under FreeBSD
Message-ID:  <19980423155017.13991@homenet>
In-Reply-To: <Pine.BSF.3.96.980422162507.25353A-100000@shell6.ba.best.com>; from Jan Koum on Wed, Apr 22, 1998 at 04:27:40PM -0700
References:  <Pine.BSF.3.96.980422162507.25353A-100000@shell6.ba.best.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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".

  <http://www.eleves.ens.fr:8080/home/rideau/Assembly-HOWTO>; or
  <http://www.eleves.ens.fr:8080/home/rideau/Assembly-HOWTO.sgml>;

Have fun,
Aaron

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980423155017.13991>