0% found this document useful (0 votes)
13 views2 pages

LAB Manual First Two Pages

This document is a lab manual for the 8085 microprocessor course at Hetauda City College, prepared by lecturer Sulav Paudel. It includes instructions for performing assembly programs, such as storing 8-bit data in memory and exchanging contents of memory locations. Each lab exercise outlines the aim, algorithms, and sample programs for students to follow and report on.

Uploaded by

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

LAB Manual First Two Pages

This document is a lab manual for the 8085 microprocessor course at Hetauda City College, prepared by lecturer Sulav Paudel. It includes instructions for performing assembly programs, such as storing 8-bit data in memory and exchanging contents of memory locations. Each lab exercise outlines the aim, algorithms, and sample programs for students to follow and report on.

Uploaded by

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

MICROPROCESSOR LAB MANUAL July 20, 2017

Hetauda City College


Affiliated to Tribhuwan University

LAB MANUAL
ON

8085 MICROPROCESSOR

BSC-CSIT: II SEM

Prepared By:

Sulav Paudel (MSc)

Lecturer

S. PAUDEL. MSc | LECTURER, DEPARTMENT OF INFORMATION TECHNOLOGY (BSC CSIT)


MICROPROCESSOR LAB MANUAL July 20, 2017

PERFORM ALL PROGRAMS AND PREPARE THE LAB REPORT INCLUDING OBJECTIVE,
ALGORITHMS, PROGRAMS, OBSERVATION AND RESULT OR COMCLUSION

LAB 1

1.1 STORE 8-BIT DATA IN MEMORY LOCATION


AIM: To perform the 8085 assembly program to store 8-bit data 2AH in a memory location
8050H.

ALGORITHM 1:
 Start the program by loading the first data into an accumulator.
 Store accumulator contents at given memory address.
 Terminate program.

PROGRAM 1:
MVI A, 2AH
STA 8050H
HLT

ALGORITHM 2:
 Start the program by loading the first data into an accumulator.
 Load HL pair register with given memory address.
 Store accumulator contents in memory location pointed by HL register pair.
 Terminate program.

PROGRAM 2:
LXI H, 8050H
MVI M, 2AH
HLT

1.2 EXCHANGE THE CONTENTS OF MEMORY LOCATIONS


AIM: To perform the 8085 assembly program exchange the contents of memory locations
5000H and 4000H.

ALGORITHM 1:
 Start the program by loading the first data of memory location 4000H into
accumulator.
 Move the data to a register (B register).
 Load the second data of memory location 5000H into accumulator.
 Store the data of accumulator at address 4000H
 Move the data back into accumulator that is saved in a register (B register).
 Store the data of accumulator at address 5000H
2
 Terminate program.

S. PAUDEL. MSc | LECTURER, DEPARTMENT OF INFORMATION TECHNOLOGY (BSC CSIT)

You might also like