Professional Documents
Culture Documents
1. Name the different modes of addressing in 8085 and explain with examples. What will be the content of the
register C & B after execution of the following instructions? Write comments for these instructions.
MVI B, 7BH
LOOP1: MVI C, 00H
MVI D, 08H
LOOP2: MOV A, B
RAL A
MOV B, A
MOV A, C
ADC A
DAA
MOV C, A
DCR D
JNZ LOOP2
HLT
[3+5]
2. Draw circuit connection of a 8085 based microcomputer system with 8755 EPROM, 8155 RAM with I/O, and
a 8255 I/O controller chip. Set the address of Port A of 8255 as FCH, that in 8155 as 8000H and the end address
of EPROM is 7FFF H [12]
3. Write a code in assembly language of 8085 for the above circuit to display 0-9 numbers on a 7-segment display
connected at port A of 8155. The number is to be varied by pressing 10 push buttons (labeled as 0-9) connected
at port B & C of 8255. [10]
BEST WISHES
P.T.O. for necessary information
Pin Diagram of 8085
Pin diagrapm of
8255
-End-