From owner-freebsd-hackers Wed Mar 8 8:58:15 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.ptd.net (mail1.ha-net.ptd.net [207.44.96.65]) by hub.freebsd.org (Postfix) with SMTP id E273737C314 for ; Wed, 8 Mar 2000 08:58:10 -0800 (PST) (envelope-from tms2@mail.ptd.net) Received: (qmail 6277 invoked from network); 8 Mar 2000 16:58:17 -0000 Received: from du82.cli.ptd.net (HELO mail.ptd.net) (204.186.33.82) by mail.ptd.net with SMTP; 8 Mar 2000 16:58:17 -0000 Message-ID: <38C68678.8748C82F@mail.ptd.net> Date: Wed, 08 Mar 2000 11:57:28 -0500 From: "Thomas M. Sommers" X-Mailer: Mozilla 4.51 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-doc@freebsd.org Cc: freebsd-hackers@freebsd.org Subject: Proposed FAQ on assembly programming Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG The question of how to write an assembly language program on FreeBSD comes up occasionally. The main difficulty is that it is not immediately obvious how to make a system call without using libc, which may not always be desirable. There does not seem to be any documentation on this (other than the kernel source). I have drafted a FAQ that very briefly shows how to write the canonical "Hello, world." program in FreeBSD assembler. The draft can be found at http://home.ptd.net/~tms2/hello.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message