Professional Documents
Culture Documents
Submitted by
[Md. Iqbal Hossain]
[2008-3-80-014]
Abstract
The main aim of this lab is to introducing one person with the assembly language operating
system by using EMU8086 (The Microprocessor Emulator) software system . By doing this lab a
person will gather the knowledge how to move a value/character in a register, write a program,
execute a program and different applications of EMU8086 (The Microprocessor Emulator)
software system.
This lab contains with some logical operations like summation, division, multiplication, power
calculation etc and a particular problem (equation) is done in different ways like how a person
can do arithmetic operations by using one/ two or three resistors. How a person can see memory
address and how to read a memory content also included in this lab.
EEE401 Lab
Introduction
Experiments type: This experiment deals with basic operating system of assembly
language using EMU8086 (The Microprocessor Emulator) software system.
Expectation: Anyone can expect to learn how to implement an assembly language and
arithmetic operation in EMU8086 (The Microprocessor Emulator) software system.
Experiments task: In the lab a person will perform summation of two integers by using 1,2
& 3 resisters, memory address and both memory address plus resister.
Uses in Practical: If anyone know assembly language operations it will helps to design
Microprocessor and memory of a microcomputer.
Experimental Results
1. Program that will calculate the sum of two integers residing in registers, output also
will in registers
Memory address ----- Assembly code ----- result
mov ax,1A
1A
mov bx,11
11
mov cx,bx
1A
EEE401 Lab
add cx,ax
2B
2. Program that will calculate the sum of two integers residing one in register and
another in memory, output also will in registers
Memory address ----- Assembly code ----- result
0500
mov [0500],1A
1A
0400
mov bx,11
11
0403
add bx,[0500]
2B
3. Program that will calculate the sum of two integers residing one in memory, output
also will in memory
Assembly code ----- result
mov ax, [0500]
1A
mov bx,[0501]
11
add [0502],ax
1A
add [0502],bx
2B
Result
mov ax,14d
0E
mul ax
C4
mov cx,ax
C4
Discussion of Results
This experiment shows the results of summations which is fully similar to theory calculation and
there is no deviations.
East West University
EEE Department
EEE401 Lab
Conclusions
This experiment shows the results of summations of two integer by using resister, memory
address and both memory address plus resister for a single assembly code so anyone can learn
about the operating system of a system board specially how to add register content with resister
content, register content with memory content and memory content with memory content.
Acknowledgments
I would specially like to thank my course instructor Mrs. Tahsin kamal who helped me to
complete this experiment. Then all of my group members who performed the experiment with
me and the lab officer and the lab stuff for helping in the whole procedure.
References
1. M. Rafiquzzaman, Fundamentals of Digital Logic and Microcomputer Design, Fifth Edition,
John Wiley & Sons, Inc., Hoboken, New Jersey, 2005.
2. Wikipedia.com
3. Google.com
EEE401 Lab
advantage of 8086 instruction set is that it is much smaller, and thus easier to learn.
Emu8086 has a much easier syntax than any of the major assemblers, but will still
generate a program that can be executed on any computer that runs 8086 machine
code; a great combination for beginners! Note: If you don't use Emu8086 to
compile the code, you won't be able to step through your actual source code while
running it.
Where to start?
1. Start Emu8086 by selecting its icon from the start menu, or by running
Emu8086.exe.
2. Select "Samples" from "File" menu.
3. Click [Compile and Emulate] button (or press F5 hot key).
4. Click [Single Step] button (or press F8 hot key), and watch how the code
file:///D|/Heep/Assem/SW/Emu8086v3.07/Help/start_unframed.html (1 of 2)01/05/2006 12:27:55
Overview of Emu8086
is being executed.
5. Try opening other samples, all samples are heavily commented, so it's a
great learning tool.
display, and traffic lights intersection. This devices can be modified and cloned, their source code
is available.
You can design and test your own virtual devices programmed in assembly language (or any
other language) with this emulator.
The program opens letting you begin a new project, view some code examples, open the Quick
Start Tutor or opening Recent Files.
After programming your application you can compile it, save the binary file and run it.
EEE401 Lab