Author Topic: How to begin with NASM ?  (Read 11147 times)

Offline haleh

  • New Member
  • Posts: 1
How to begin with NASM ?
« 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??

Offline Frank Kotler

  • NASM Developer
  • Hero Member
  • *****
  • Posts: 2667
  • Country: us
Re: How to begin with NASM ?
« Reply #1 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