0% found this document useful (0 votes)
942 views

Lab Report 1

This document summarizes a lab experiment introducing the EMU8086 microprocessor emulator. The objectives of the lab were to learn how to use EMU8086 to write assembly language programs for the 8086 processor and debug programs using the Watch Window. As part of the lab, the student wrote an assembly program to store the first four digits of their roll number in memory locations 03000H through 03006H. The conclusion discusses that the lab helped learn 8086 instruction sets like data transfer, logical, arithmetic, and branching instructions as well as addressing modes.

Uploaded by

ashar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
942 views

Lab Report 1

This document summarizes a lab experiment introducing the EMU8086 microprocessor emulator. The objectives of the lab were to learn how to use EMU8086 to write assembly language programs for the 8086 processor and debug programs using the Watch Window. As part of the lab, the student wrote an assembly program to store the first four digits of their roll number in memory locations 03000H through 03006H. The conclusion discusses that the lab helped learn 8086 instruction sets like data transfer, logical, arithmetic, and branching instructions as well as addressing modes.

Uploaded by

ashar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

LAB REPORT 01

µP Interfacing and Programming Lab

ROLL NO: 20L-1447 SECTION: 5A2

ASHAR MUSHTAQ DEPARTMENT: BSEE

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

Lab Task 01:

Write an assembly language program to move first four digits of your roll numbers at memory locations
shown below:

03000H 03002H 03004H 03006H 03008H

Code:

MOV AX,0300H

MOV DS, AX

MOV DI, 0002H

MOV DS: [0000],01H

1|Page
MOV DS: [0002],04H

MOV DS: [0004],04H

MOV DS: [0006],07H

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

You might also like