LAB Manual First Two Pages
LAB Manual First Two Pages
LAB MANUAL
ON
8085 MICROPROCESSOR
BSC-CSIT: II SEM
Prepared By:
Lecturer
PERFORM ALL PROGRAMS AND PREPARE THE LAB REPORT INCLUDING OBJECTIVE,
ALGORITHMS, PROGRAMS, OBSERVATION AND RESULT OR COMCLUSION
LAB 1
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
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.