677/Comp.Sc. DG/5th Sem/COM.
SC-H-DSE-I-501/22
U.G. 5th Semester Exanmination - 2022
COMPUTER SCIENCE
HONOURS]
Discipline Specific Elective (DSE)
Course Code : COM.SC-H-DSE-L-501
(Microprocessor)
Full Marks 60 Time 2 Hours
The figures in the right-hand margin indicate marks.
Candidates are required to give their answers in
their own words as far as practicable.
GROUP-A
1. Answer any ten questions: 2x10=20
State the use of ALE.
b) Explain the difference between the shift and
rotate instructions.
Name four instructions which control the
interrupt of 8085 microprocessor.
d)
d) How does the microprocessor differentiate
between data and instruction?
What is subroutine?
S t a t e two differences between microprocessor
and microcontroller.
/Turn Over]
What are the usages of Control Flags available
in 8086?
What happens when NOP instruction executes?
What is the difference between min mode and
max mode of 8086?
i State the content of the -effected register if we
compare Accumulator with register B using
CMP instruction. Assume that the content of
Accumulator is less than register B.
What is the mode and I/O configuration for portsS
A,B, and C of an 8255A after its control register
is loaded with 82H?
Why El instruction is used?
What is the purpose of the LOCK' signal in
8086?
After the execution of CMP A
instruction, what
will be the content of flag
register?
o) What will be the content of Stack pointer(SP)
and Program Counter(PC) after executing the
following block of instructions?
1200 LXI SP,1000H
1203 PUSH H
1204 PUSH D
1205 CALL 2000
1208 POP H
1209 HLT
677/Comp.Sc 21
GROUP-B
2 Answer any four questions: 5x4-20
What do you mean by macro? What are the
differences between a macro and a Subroutine?
What are vectored interrupts? How the address
of the Interrupt Service routine is calculated in
vectored interrupts? Explain with an example.
How many T-States are needed for OUT
instruction? Write a program to initialize 8255A
in the configuration given below: Port A as
simple input,Port B as simple output, Port C
Lower as output and Port C Upper as input.
Assume address of the control word register of
8255A as 83H.
Draw the timing diagram of LDA 4000 H
instruction. Opcode of LDA is 3A H. Assume
that opcode is in 2000 H location.
Describe in detail, the steps ihvolved to fetch
a
e)
byte in 8085.
What are maskable and non-maskable
interrupts? Give examples. How will you mask
an interrupt in 8086?
677/Comp.Sc [3] (Turn Over]
GROUPC
3. Answer any two questions: 10x2-20D
a) What is the advantage of using 8279 forr
keyboard/display interface? What are scan lines
used for? Explain its following modes of
operations
i) Encoded scan mode
ii) Decoded scan mode 3+1+(3+3)
Show the interfacing of memory with 8086
microprocessor. Explain the memory access
mechanism of 8086
microprocessor. 5+5
c) Write a
using RST 5.5 interrupt to get
program
an input from
keyboard and display it on the
display system. Use RST 5.5 instead of RST 7.5.
and change mask pattern accordingly. 6+4
Explain with suitable diagram, how 8251 can be
interfaced with 8085. State the
significance of
SYNDET and RXRDY signals available in
8251.
7+3
677/Comp.Sc 4