Lab Report 1
Lab Report 1
EXPERIMENT 01
Introduction to EMU8086
INTRODUCTION
In this first introductory lab of course, we have been introduced with 8086 Microprocessor
Emulator, which is also known as EMU8086, is an emulator of the program 8086 microprocessor
and its use. It is developed with a built-in 8086 assembler. It has an instruction queue, which is
capable of storing six instruction bytes from the memory resulting in faster processing. Emulator
runs programs like the real microprocessor in step-by-step mode. it shows registers, memory,
stack, variables and flags.
OBJECTIVES
● To learn how to use EMU8086 for writing assembly language programs for PIC
● To learn how to use Watch Window for debugging programs in EMU8086
MEASUREMENTS
Write an assembly language program to move first four digits of your roll numbers at memory locations
shown below:
Code:
MOV AX,0300H
MOV DS, AX
1|Page
MOV DS: [0002],04H
HLT
ISSUES
Some little difficulties were faced while understanding the concept but later on it has been
resolved and went smoothly.
APPLICATIONS
Emu8086 combines an advanced source editor, assembler, disassembler, software emulator
(Virtual PC) with debugger, and step by step tutorials. This program is extremely helpful for
2|Page
those who just begin to study assembly language. It compiles the source code and executes it on
emulator step by step.
CONCLUSION
We learned the instruction set of 8086 microprocessors like data transfer instruction, logical
instruction, arithmetic instruction and branching instruction. Addressing mode tells us what is the
type of the operand and the way they are accessed from the memory for execution of an
instruction and how to fetch particular instruction from the memory.
POST LAB
1. Write an assembly language program to store characters of your name, at memory locations
shown below:
03000H 03002H 03004H 03006H 03008H
MOV AX,0300H
MOV DS, AX
MOV [0000H],41H
MOV [0001H],53H
MOV [0002H],48H
MOV [0003H],41H
MOV [0004H],52H
HLT
-------END------
3|Page