Vous êtes sur la page 1sur 4

Computer Organization and Assembly Language

Spring 2015

Lab 00
Installation of Assembler for the Intel x86 architecture
Objective
To install a TASM and DOSBox on Windows and NASM on LINUX based distribution.

Theory
TASM
Turbo Assembler (TASM) is an assembler package developed by Borland which runs on and produces code for
16- or 32-bit x86 MS-DOS or Microsoft Windows. It can be used with Borland's high-level language compilers,
such as Turbo Pascal, Turbo Basic, Turbo C and Turbo C++. The Turbo Assembler package is bundled with the
Turbo Linker, and is interoperable with the Turbo Debugger.
DOSBox
DOSBox is a DOS-emulator that uses the SDL-library which makes DOSBox very easy to port to different
platforms. DOSBox has already been ported to many different platforms, such as Windows, BeOS, Linux,
MacOS X.
DOSBox also emulates CPU:286/386 real/protected mode, Directory File-System/XMS/EMS,
Tandy/Hercules/CGA/EGA/VGA/VESA graphics, a SoundBlaster/Gravis Ultra Sound card for excellent sound
compatibility with older games

computer.

NASM
The Netwide Assembler (NASM) is an assembler and disassembler for the Intel x86 architecture. It can be used
to write 16-bit, 32-bit (IA-32) and 64-bit (x86-64) programs. NASM is considered to be one of the most popular
assemblers for Linux.

Assigned tasks
A. To install TASM and DOSBox on Windows 7 Machine
B. To install NASM on LINUX based Machine (KUBUNTU - Virtual Machine)

A To install TASM and DOSBox on Windows 7 Machine


Step # 1
Copy or download TASM-5 (WINDOWS 64bit Assembly) and DOSBox from Facnots or for Copy-Cloud.

Iqbal Uddin Khan

Computer Organization and Assembly Language

Spring 2015

Step # 2
Create a folder named TASM in your C drive.

Step # 3
Extract all contents of TASM (WINDOWS 64bit Assembly Tool.zip) to C:\TASM

Step # 4
Now extract all contents ofDEBUG125 in TASM folder too, figure on next page.

Iqbal Uddin Khan

Computer Organization and Assembly Language

Spring 2015

Step # 5
Now install DOSBox.

Step # 6
Now run the DOSBox, you will observe the following screens.

Iqbal Uddin Khan

Computer Organization and Assembly Language

Spring 2015

B To install NASM on LINUX based Machine (KUBUNTU - Virtual Machine)


Step # 1
In super user mode type the following and press Y:

# apt-get install nasm


Step # 2
To check wheater it is installed or not type:

# which nasm
It will show the folder of NASM like this:

# /usr/bin/nasm
Instructions to follow:
1.
2.
3.
4.

Do as directed.
Use Virtual Machine for NASM.
You may install Notepad++ for better working on up coming labs.
Note that this lab will not be checked after 18th February 2015.

Iqbal Uddin Khan

Vous aimerez peut-être aussi