Lab 01: Introduction To Assembly Language: Theory
Lab 01: Introduction To Assembly Language: Theory
Objective(s):
Theory:
Assembly Language:
Assembly language programs are converted into executable machine code by a utility program referred to
as an assembler, the conversion process being referred to as assembly or assembling the program.
Assembler
An assembler is a program that converts source-code programs written in assembly language into object
files in machine language. Popular assemblers have emerged over the years for the Intel family of
processors. These include MASM (Macro Assembler from Microsoft), TASM (Turbo Assembler from
Borland), NASM (Netwide Assembler for both Windows and Linux), and GNU assembler distributed by
the free software foundation.
Linker
A linker is a program that combines your program's object files and link libraries, and produces a single
object file created by the assembler with other executable program.
Debugger
A debugger is a program that allows you to trace the execution of a program
and examine the content of registers and memory.
Editor
You need a text editor to create assembly language source files. You can use NotePad , or any
other editor that produces plain ASCII text files.
Emu8086
Emu8086 combines an advanced source editor, assembler, disassemble and software emulator (Virtual PC)
with debugger. It compiles the source code and executes it on emulator step by step.
Visual interface is very easy to work with. You can watch registers, flags and memory while your program
executes.
Installation Steps
1. Go to https://emu8086-microprocessor-emulator.en.softonic.com/download
2. Download EMU8086
3. Install EMU8086
4. Once you install EMU8086 go to start menu:
Step 2:
Extract the ‘MP’ folder and Paste it on your C:\ Drive