From owner-freebsd-hackers Fri Sep 4 15:09:44 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA14110 for freebsd-hackers-outgoing; Fri, 4 Sep 1998 15:09:44 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from mail.camalott.com (mail.camalott.com [208.203.140.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA14100 for ; Fri, 4 Sep 1998 15:09:41 -0700 (PDT) (envelope-from joelh@gnu.org) Received: from detlev.UUCP (tex-57.camalott.com [208.229.74.57]) by mail.camalott.com (8.8.7/8.8.5) with ESMTP id RAA06287; Fri, 4 Sep 1998 17:09:30 -0500 Received: (from joelh@localhost) by detlev.UUCP (8.9.1/8.9.1) id RAA15514; Fri, 4 Sep 1998 17:07:34 -0500 (CDT) (envelope-from joelh) Date: Fri, 4 Sep 1998 17:07:34 -0500 (CDT) Message-Id: <199809042207.RAA15514@detlev.UUCP> To: dag-erli@ifi.uio.no CC: ormonde@aker.com.br, hackers@FreeBSD.ORG In-reply-to: (dag-erli@ifi.uio.no) Subject: Re: Assembler with FreeBSD From: Joel Ray Holveck Reply-to: joelh@gnu.org References: <3.0.3.32.19980903123603.0068c6f4@cnt.org.br> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >> I have to write a few high speed routines in assembler to run on a >> FreeBSD box. I used to program in assembler to DOS, so I think I have the >> necessary knowledge to do it on FreeBSD. > Why do you want to do that? FreeBSD isn't DOS. Your assembler routine > is unlikely to be significantly faster than the corresponding C code > compiled with 'gcc -O3'. More specifically, many things that were best done in assembler on DOS are better done in C on Unix. I am going to write a web page later tonight that addresses the differences between DOS and Unix assembler codes, and will be sure to post the URL. Best, joelh -- Joel Ray Holveck - joelh@gnu.org - http://www.wp.com/piquan Fourth law of programming: Anything that can go wrong wi sendmail: segmentation violation - core dumped To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message