Page 1 of 1

Lesson for NASM [SOLVED]

Posted: Sun May 20, 2012 1:28 pm
by Benjamin100
Are there any good online lessons for learning to use NASM with Windows?

Re: Lesson for NASM

Posted: Sun May 20, 2012 1:32 pm
by dandymcgee
Do you want to learn NASM specifically, or x86 assembly? If you're just interested in playing with assembly instructions I would highly recommend Ketman's 8086 Tutorial.

http://www.btinternet.com/~btketman/tutpage.html

Probably one of the most useful things I have ever found.

Aside from that there seems to be many good resources here: http://www.nasm.us/links.php

Re: Lesson for NASM

Posted: Sun May 20, 2012 1:54 pm
by Benjamin100
I'm still a little confused about what assembly is.
Is NASM an assembly language? What is x86 assembler? Is it an assembly language? Is assembly a programming language?
Is NASM just a higher level version of x86 assembly?

Re: Lesson for NASM

Posted: Sun May 20, 2012 6:03 pm
by dandymcgee
Benjamin100 wrote:I'm still a little confused about what assembly is.
Is NASM an assembly language? What is x86 assembler? Is it an assembly language? Is assembly a programming language?
Is NASM just a higher level version of x86 assembly?
NASM is an assembler. x86 assembly (also "8086 assembler language" or similar) is the language supported by x86 architecture (common "PC"s). There are other assembly languages, as each processor is free to define its own set of instructions.

In other words, assembly is the language and an assembler is the tool that you use to compile assembly to machine code. Before assembling, there is also a linking step, performed by the linker. Compiling is the whole process of linking and assembling (minus the gory details of lexical and syntactic analysis performed by a lexer and parser, respectively).

Re: Lesson for NASM

Posted: Mon May 21, 2012 5:09 pm
by Benjamin100
Thanks.