Lesson for NASM [SOLVED]

Whether you're a newbie or an experienced programmer, any questions, help, or just talk of any language will be welcomed here.

Moderator: Coders of Rage

Post Reply
Benjamin100
ES Beta Backer
ES Beta Backer
Posts: 250
Joined: Tue Jul 19, 2011 9:37 pm

Lesson for NASM [SOLVED]

Post by Benjamin100 »

Are there any good online lessons for learning to use NASM with Windows?
Last edited by Benjamin100 on Sun Jun 03, 2012 7:32 pm, edited 1 time in total.
User avatar
dandymcgee
ES Beta Backer
ES Beta Backer
Posts: 4709
Joined: Tue Apr 29, 2008 3:24 pm
Current Project: https://github.com/dbechrd/RicoTech
Favorite Gaming Platforms: NES, Sega Genesis, PS2, PC
Programming Language of Choice: C
Location: San Francisco
Contact:

Re: Lesson for NASM

Post 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
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches! :twisted:
Benjamin100
ES Beta Backer
ES Beta Backer
Posts: 250
Joined: Tue Jul 19, 2011 9:37 pm

Re: Lesson for NASM

Post 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?
User avatar
dandymcgee
ES Beta Backer
ES Beta Backer
Posts: 4709
Joined: Tue Apr 29, 2008 3:24 pm
Current Project: https://github.com/dbechrd/RicoTech
Favorite Gaming Platforms: NES, Sega Genesis, PS2, PC
Programming Language of Choice: C
Location: San Francisco
Contact:

Re: Lesson for NASM

Post 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).
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches! :twisted:
Benjamin100
ES Beta Backer
ES Beta Backer
Posts: 250
Joined: Tue Jul 19, 2011 9:37 pm

Re: Lesson for NASM

Post by Benjamin100 »

Thanks.
Post Reply