You are on page 1of 1

ASSEMBLY PROGRAMMING TUTORIAL

http://www.tuto rialspo int.co m/asse mbly_pro g ramming /inde x.htm


Co pyrig ht tuto rials po int.co m

Assembly lang uag e is a low-level prog ramming lang uag e for a computer, or other prog rammable device specific to a particular computer architecture in contrast to most hig h-level prog ramming lang uag es, which are g enerally portable across multiple systems. Assembly lang uag e is converted into executable machine code by a utility prog ram referred to as an assembler like NASM, MASM etc.

AUDIENCE
T his tutorial has been desig ned for software prog rammers with a need to understand the Assembly prog ramming lang uag e starting from scratch. T his tutorial will g ive you enoug h understanding on Assembly prog ramming lang uag e from where you can take yourself at hig her level of expertise.

PREREQUISITES
Before proceeding with this tutorial you should have a basic understanding of Computer Prog ramming terminolog ies. A basic understanding of any of the prog ramming lang uag es will help you in understanding the Assembly prog ramming concepts and move fast on the learning track.

ASSEMBLY PROGRAMMING ONLINE


For most of the examples g iven in this tutorial you will find T ry it option, so just make use of it and enjoy your learning . T ry following example using T ry it option available at the top rig ht corner of the below sample code box:
section .text global _start _start: mov edx,len mov ecx,msg mov ebx,1 mov eax,4 int 0x80 mov eax,1 int 0x80 ;must be declared for linker (ld) ;tells linker entry point ;message length ;message to write ;file descriptor (stdout) ;system call number (sys_write) ;call kernel ;system call number (sys_exit) ;call kernel

section .data msg db 'Hello, world!', 0xa ;our dear string len equ $ - msg ;length of our dear string

1 - Assembly Prog ramming Quick Reference Guide


A quick reference g uide for Assembly Prog rammers. Assembly Prog ramming Quick Reference Guide

2 - Useful Assembly Prog ramming Resources


A collection of Assembly Programming Sites, Books and Articles is g iven at this pag e. Useful Assembly Prog ramming Resources

3 - Assembly Prog ramming Tutorial in PDF


Download a quick Assembly tutorial in PDF format. Assembly T utorial in PDF

You might also like