NASM - The Netwide Assembler

NASM Forum => Using NASM => Topic started by: haleh on October 01, 2012, 06:20:18 AM

Title: How to begin with NASM ?
Post by: haleh on October 01, 2012, 06:20:18 AM
I worked with AVR studio and Assembly for programming my robots so now I am familiar some how with Assembly ,Now I want to simulate with NASM in Linux ,how can I start ?What are essentials for me to learn ?I know that programing with AVR and CPU is different so what do you suggest me to read or learn ??Book??Links??
Title: Re: How to begin with NASM ?
Post by: Frank Kotler on October 02, 2012, 03:24:47 PM
Well, I'm not familiar with AVR studio, or robots, so I don't know what will be "new" to you. Here are several tutorials on getting started in Unix assembly... not all for Nasm and not all for Linux...

http://asm.sourceforge.net/resources.html#tutorials

Here's a tutorial for 32-bit assembly generally - will work on any platform (uses the C library "behind your back" to do I/O to your OS).

http://www.drpaulcarter.com/pcasm

One or another of those, plus the Nasm Manual and the Intel/AMD manuals should get you far enough along so you know what problems you're having (if any) :) Sorry I can't be much help with 64-bit stuff - probably best to learn some 32-bit asm first, anyway. Looking forward to hearing more about your robots!

Best,
Frank