Author Topic: Where to begin  (Read 9080 times)

nasmkid

  • Guest
Where to begin
« on: November 02, 2010, 06:14:14 AM »
Hi all,

I am new to NASM & ASM, I dont know, where to start studying ASM for NASM.

I have reffered "nasmdoc.pdf", but it talks mostly about the comparison between MASM & NASM.

Pls help me, how to start studying ASM for 32 bit using NASM.

Offline Frank Kotler

  • NASM Developer
  • Hero Member
  • *****
  • Posts: 2667
  • Country: us
Re: Where to begin
« Reply #1 on: November 02, 2010, 06:40:30 AM »
Try:

http://www.drpaulcarter.com/pcasm

You don't say what OS - usually that means Windows - Dr. Carter's tut should give you an intro to 32-bit assembly that'll work for "any of 'em".

I think you'll find that the Nasm documentation goes beyond comparison between Masm and Nasm, but it's about "how to use Nasm" rather than "what to use it for", which is probably more what you need to know. The section on the output format that you're interested in ("-f win32" ?) may be some help.

You'll want an Instruction Set Reference - Intel/AMD manuals are probably the "best", but the old one, dropped from the Nasm manual, can be found here:

http://home.myfairpoint.net/fbkotler/nasmdocr.html

This isn't up-to-date, and doesn't document which instructions alter flags, but it's in "Nasm syntax"...

If you've got specific questions, we'll try to answer them...

Best,
Frank


nasmkid

  • Guest
Re: Where to begin
« Reply #2 on: November 02, 2010, 10:32:14 AM »
Thank you very much for your reply.