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 7FF9C37BFE6 for ; Mon, 12 Jun 2000 05:37:04 -0700 (PDT) (envelope-from dutch@fellspt.charm.net) Received: from localhost (dutch@localhost) by fellspt.charm.net (8.9.3/8.9.3) with ESMTP id MAA10818; Sun, 11 Jun 2000 12:35:50 -0400 (EDT) Date: Sun, 11 Jun 2000 12:35:50 -0400 (EDT) From: Dutch Collins To: freebsd-questions@FreeBSD.org Cc: dutch@charm.net Subject: [retry bounced mail] Re: More UNIX System Calls and Assembly In-Reply-To: <3943AE41.FE54F1A4@charm.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I sent this when I was on another box and it was bounced. Maybe this time it will get where I want it to go. -d --- On Sun, 11 Jun 2000, Dutch Collins wrote: > 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 > > -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message