Page 1
>BI tu!"t*ir.
RollNo. Total No of Pages:p
o
\o
4F+160
r{ B.Tech. IV-Sem (Main & Back) Examl June-July 2016
!il Computer Science & Engineering
EI 4CSLA Microprocessors and Interfaces
$ Common with CS, IT
Time: 3 Hours Maximum Marksl S0
Min. Passing Marks (Main & Back): 26
Min. Passing Marks (OId Back): 24
Instructions to Candidate s : -
Attempt any five. questions, selecting one question from each unit. All
Questions carry equal marks. Schematic diagrams must be shown
wherever necessaty. Any data you feel missing suitably be assumed and
stated clearly.
Units of quantities used/ calculated must be stated clearh.
Use of following supporting material is permitted during examination
(Mentioned in form No.205 ).
l. 2.
UNIT.I
Q.1 Define following is 8085 Microprocessor:-
(a) Program counter t21
(b) Stack pointer t2)
(c) General purpose programmable registers t2)
(d) Instructionregister t21
(e) HOLD & HLDA pin tzl
(0 Control & status pins t21
(g) Flags t2l
(h) PSw 12)
[4E4160] Page 1 of4 17620l
Page 2
Q.l (a)3.I,*:1,'li""f
(b) Find memory map l{,*r,T,r,T.i;!Tff ;:ff :Htwi,hbrackdiagram
of tf," foffoining
rfe M".;r, *;
fil
*
Q.Z (a) Write a short note
, on rotate,
(b) Find rhe or 8085 Microprocessor.
"on,*, ;;';:' .::::::r::'
roglster after execution
of the foilowing assembly
t6l
Ianguage program.
MVI A, 17H t6l
Loop:
RLC
JNC Loop:
MOVC, A
(c)
HLT
Define direct and
ina;r-^,AA_^^^,
rdirect addressing
modes with appropriate
Q.2 @)
q examples.
t4l
cycle, machine
cycte. urru
and T_stare.
r_sta[e.
(b) 3_.j:,.-*:r*ction
Explain instrucdon cycle of an rnstruction
-r vLv ..'r ins t4l
diagram
diagram. MVI A, 05 H usmg
Timing
[484760] l6l
Page Z of 4
[76201
Page 3
(c) Find content of register 'C' after execution of the following assembly language
pfogram. i6l
MVI A, 67H
MVI B, 24H
ADDB
DAA
MOV C, A
HLT
UNIT-III
J Q.3 (a) Compute the time delay introduced by following routine: t6l
T - States
MVI A, OAH 7
Loop: NOP 4
NOP
MOV B, A 4
DCRA 4
JNC Loop: tul1
RET 10
Assume : clock frequency of Microprocessor is 31M4HZ.
(b) Write an assembly program to implement 16 bit counter. t6l
(c) Differentiate maskable & Nonmaskable intemrpts of 8085. t4l
OR
Q.3 (a) Find the content of SP & PC: t6l
(i) after CALL instruction
(ii) after RET instruction, of the following program
Mem. Address Instruction
2000H LXI SP,3995H
LXI B, 2OA5H
LXI H, 3927H
CALL 3734H
3731.H MOV A, B
RET
14F4L601 Page 3 of4 17620l
Page 4
(b) Explain working of 8259. t6I
(c) Differentiate vectored and non vectored intemrpts of 8085. t4l
Q.4 (a) Explain control word format of 8255 in IO mode. t8l
(b) Write d control word of 8255 in IO mode 0, for port A and port B is input and
port C is in output port. t41
(c) Find the address of port A, port B, port C and control register of 8255 for
following interfacing I4l
4
A,
A4
4
4
4
IOIM
OR
Q.4 (a) Explain operating modes of 8254 with wave forms. t8l
(b) Explain 8279 with block diagram. t4I
(c) Differentiate memory mapped and IO mapped techniques. t4l
Q.s Write Short note on :-
(a) USART 8251 tl0l
(b) Liquid crystal display t61
OR
Q.s Write short note on :-
(a) RS232 C and RS 422A t8l
(b) Centronics t41
(b) IEEE 488 t4I
[4E4160] Page 4 of4 176201