Assembly Language under Linux



This page describes a simple programming environment for the assembler NASM under Linux and provides some introductory information.

The programming environment is installed in the computer lab and on sciris.

Linux logo from http://www.isc.tamu.edu/~lewing/linux/

Required Linux software

Package names and installation differs for different Linux distributions. You need the following software to assemble programs.

Setting up the programming environment

Documentation

Assembling .asm files

Suppose you want to assemble a file called "file.asm" and generate an executable called "file" and an annotated listing of the machine code called "file.lst".

Examples

Donwload the file examples.tgz and unpack it with the command "tar xfz examples.tgz".
You will find the directory "Examples" containing several assembler programs (cf. Paul A. Carter ).

Debugging

Additional information



Page maintained by Manfred Minimair
Department of Mathematics and Computer Science
Seton Hall University
Last modified: 5/5/2002