From owner-freebsd-questions Mon Jun 12 5:37:19 2000 Delivered-To: freebsd-questions@freebsd.org Received: from fellspt.charm.net (fellspt.charm.net [199.0.70.29]) by hub.freebsd.org (Postfix) with ESMTP id 5DA1737CBF0 for ; Mon, 12 Jun 2000 05:37:08 -0700 (PDT) (envelope-from dutch@charm.net) Received: from charm.net (coretel-185-032.charm.net [162.33.185.32]) by fellspt.charm.net (8.9.3/8.9.3) with ESMTP id LAA05396 for ; Sun, 11 Jun 2000 11:31:42 -0400 (EDT) Message-ID: <3943A2C2.1D12F9BD@charm.net> Date: Sun, 11 Jun 2000 15:31:30 +0100 From: Dutch Collins X-Mailer: Mozilla 4.72 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: questions@FreeBSD.org Subject: Re: More UNIX System Calls and Assembly References: <394344A2.F66AAB52@charm.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dutch Collins wrote: > > Here is the comment from the example. > > http://www.whizkidtech.net/syscall.txt > > ;------------------------------------------------------------------ > ; File: tab2sp.asm > ; > ; A sample assembly language program for FreeBSD. > ; It converts tabs to spaces. Nothing new, expand > ; already does that and with more options. > ; > ; But it illustrates reading from stdin, and writing > ; to stdout and stderr in assembly language. > ; > ; 05-May-2000 > ; Copyright 2000 G. Adam Stanislav > ; All rights reserved > ; > ; http://www.whizkidtech.net/ > ; http://www.redprince.net/ > ; > ; Assemble with nasm: > ; > ; nasm -f tab2sp.asm > ; ld -o tab2sp tab2sp.o > > I don't have time right now to try it. Enjoy. > > -d > -- > +------------------------------------------------------------------+ > | Stuff n. -trappings, essence, junk, things, gear | > +------------------------------------------------------------------+ > | My site full of Stuff : http://www.charm.net/~dutch | > | #2 e-mail [servers do crash] : 2quasimoto@netscape.net | > | | > |$Id: overly-complex-sig.txt,v 1.0 2000/05/22 18:09:00 dutch Exp $ | > +------------------------------------------------------------------+ -- +------------------------------------------------------------------+ | Stuff n. -trappings, essence, junk, things, gear | +------------------------------------------------------------------+ | My site full of Stuff : http://www.charm.net/~dutch | | #2 e-mail [servers do crash] : 2quasimoto@netscape.net | | | |$Id: overly-complex-sig.txt,v 1.0 2000/05/22 18:09:00 dutch Exp $ | +------------------------------------------------------------------+ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message