Difference between revisions of "Tutorials/Assembler Tutorial"

From ThorstensHome
Jump to: navigation, search
Line 1: Line 1:
This tutorial teaches you assembler on the example of the Linux x86 platform.
+
This tutorial teaches you assembler on the example of the Linux x86 platform. It prepares you for reading the [http://en.wikibooks.org/wiki/X86_Assembly wikibook on X86 assembly]. We assume you have Linux running on your (physical or virtual) machine.
  
 
'''endlessloop.asm'''
 
'''endlessloop.asm'''
Line 9: Line 9:
 
'''compile it'''
 
'''compile it'''
 
  nasm hello.asm -o hello -f aout
 
  nasm hello.asm -o hello -f aout
 +
 +
= See also =
 +
* http://en.wikibooks.org/wiki/X86_Assembly

Revision as of 05:39, 11 May 2009

This tutorial teaches you assembler on the example of the Linux x86 platform. It prepares you for reading the wikibook on X86 assembly. We assume you have Linux running on your (physical or virtual) machine.

endlessloop.asm

start:
   nop
jmp start

compile it

nasm hello.asm -o hello -f aout

See also