You are on page 1of 2

NATIONAL INSTITUTE OF TECHNOLOGY ROURKELA

MID - SEMESTER EXAMINATION, 2017


SESSION: 2016 – 2017 (Spring)
B. Tech. 3rd Year

Subject code: EE 342 Subject Name: Embedded System Dept. Code: EE


No. of pages: 1(both side) Full Marks: 30 Duration: 2 Hours
Figures at the right hand margin and below questions indicate marks
All parts of a question should be answered at one place
Answer brief and to the point
Answer all

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 diagram of 8755

Pin diagram of 8155 (PIN 8 is )

Pin diagram of 7-Segment LED display

Pin diagrapm of
8255

-End-

You might also like