From owner-freebsd-questions@FreeBSD.ORG Tue Apr 20 13:22:25 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 98FE816A4CE for ; Tue, 20 Apr 2004 13:22:25 -0700 (PDT) Received: from lilzmailso02.liwest.at (lilzmailso02.liwest.at [212.33.55.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id 19A0943D39 for ; Tue, 20 Apr 2004 13:22:25 -0700 (PDT) (envelope-from dgw@liwest.at) Received: from cm217-96.liwest.at ([81.10.217.96]) by lilzmailso02.liwest.at with esmtp (Exim 4.24) id 1BG1l8-0006US-0J; Tue, 20 Apr 2004 22:22:22 +0200 From: Daniela To: Stephen Liu Date: Tue, 20 Apr 2004 21:17:15 +0000 User-Agent: KMail/1.5.3 References: <200404151110.i3FBAaoo048373@adsl-68-76-19-75.dsl.klmzmi.ameritech.net> <200404161720.37041.dgw@liwest.at> <200404172038.46015.satimis@icare.com.hk> In-Reply-To: <200404172038.46015.satimis@icare.com.hk> MIME-Version: 1.0 Content-Disposition: inline Message-Id: <200404202116.43015.dgw@liwest.at> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit cc: Christopher Nehren cc: freebsd-questions@freebsd.org Subject: Re: Beginning C++ in FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Apr 2004 20:22:25 -0000 On Saturday 17 April 2004 12:38, Stephen Liu wrote: > Where can I find simple and straight forward guide for Assembly for > beginner. Hi, sorry for the late answer, I couldn't check my mail earlier. I found the following site to be quite helpful: http://courses.ece.uiuc.edu/ece291/archive/fall2001/books/labmanual/ inst-ref.html IMHO assembly is not really the language you learn best from books and tutorials. Assembly *is* tedious if you aren't really in love with it. Best thing would be: Get a good reference (like the above link), read a bit, and then think of something you could do with that bit you already know. Then write a small program and add more features to it as you read on. Don't expect to understand everything immediately, it will become clear when you try it out and see for yourself. You can choose between AT&T syntax, Intel syntax and direct opcodes. Although the latter is quite hard for seasoned high-level programmers, I would definitely recommend it if you have no programming experience at all. If you want to do this, I suggest that you have a look at the elf32.h and elf_common.h files in /usr/include/sys. I think Intel syntax is counter-intuitive, but that's really just a matter of taste (the page above uses Intel syntax). Hope that helps, if not then just ask. Daniela