From owner-freebsd-questions Mon Jun 12 5:40:15 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 A0D3C37C21F for ; Mon, 12 Jun 2000 05:40:07 -0700 (PDT) (envelope-from dutch@charm.net) Received: from charm.net (coretel-184-079.charm.net [162.33.184.79]) by fellspt.charm.net (8.9.3/8.9.3) with ESMTP id EAA11897 for ; Sun, 11 Jun 2000 04:48:05 -0400 (EDT) Message-ID: <3943443F.1A426DCD@charm.net> Date: Sun, 11 Jun 2000 08:48:15 +0100 From: Dutch Collins X-Mailer: Mozilla 4.72 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: FreeBSD-Questions@FreeBSD.org Subject: More UNIX System Calls and Assembly Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 $ | +------------------------------------------------------------------+ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message