B.Tech May2022 Comp CSPC-22 Sem4

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

NATIONAL INSTITUTE oF TECHNoLoGY, KURI.

]KSHETRA
THEORY EXAMINATION

Question PaPer

Month and year of the Exarnination:Mray-20)2


Programme: B.Tech. Semester: - 4te Semester

Subject: - Microprocessor & Interfacing Course No: - CSPC-22

Number of Questions fo be Attempted: 5 Maximum Marks: - 50


TotalNo. of Questions: 5 TimeAllowed:-3Hours
Total No. of Pages used: 2

Note: - There will be internal choice in Question no' 5

Unless stated otherwise, the symbols have their usual meanings in context
with subject. Assume
suitably and state, additional data required, if any. The candidates before starting
to write the
ensure that have
solutions should please check the question paper for any discrepancy and also
been delivered the question paper of right Course No. and right Subject
title'

I (a) A CONTROL register in 808q (6)


Ques
Microprocessor? Explain the detail description of FLAGS with neat and cleanf
diagram. I

Ques I (b) Suppose that BX:_1500H, SI:2700H & DS:0150H. Determine the Addressl (2)
accessed by each of following Instruction.
MOV AX,BX
MOV AX,2000H [BX] [SI]
MOV AX, 1000H [BX]
MOV AX, [BX]

I (c) How to make physical address in 8086 microprocessor? Explain with the help of (2)
Ques
an example.

Ques 2 (a)
f 8086 in minimum mode and (5)
explain in detail.

Explain the function of the following signals of 8086 and also write
pin number (3)
Ques 2 (b)
of each signal :-
(i) ALE (ofr-cK (ii} Ra lcr (iv) rNrR (v) READY (vi) HoLD
a

(2)
Ques 2 (c) What is the difference between 8085 microprocessor and 8086 microprocessor?
Ques 3 (a) Explainalltheassemblerdirectivesandoperato.'@ (5)
the help of an example.

Ques 3 (b) Explain the fbllowing instructions with suitable example :_ (5)
(i) LAHF (ii) XLAT
(iii) NEG (iv) DAS (v) CWD (vi) TEST
(vii) SAR (viii) RCL (ix) SCAS (x) LOOpNE/LOOPNZ

Ques 4 (a) Design an interface between 8086 CpU and two


(6)
two chips of 32K x 8 RAM. Select the starting address of EpRoM suitably. The
RAM address must srafi at 00000H.

Ques 4 (b) Draw the pinisignal diagram of 8257 and exprain each signal of gz57 in derail. (4)

Draw and explain block diagram of 8255 in dm


Ques 5 (a)
operations in8255? Explain all modes of operations in detail.
a
Ques 5 (b) Explain how DMA controller works in detailand what is the need of DMA? (3)

OR

Ques 5 (a) what do you mean by MACRO? what are the difference between MACRO and (7)
Subroutine? How do you pass parameters to MACRO?

Ques 5 (b) How many interrupts are available in g0g6? List the predefined software (3)
interrupts available in 8086.

You might also like