IMP Question Bank_MP
-
Upload
madhav-singh -
Category
Documents
-
view
217 -
download
0
Transcript of IMP Question Bank_MP
-
7/31/2019 IMP Question Bank_MP
1/4
Question Bank
Microprocessor and Interfacing
Sem. IV (EC/IC/CE/EE)
Section - I1 What is microprocessor? Explain the difference between microprocessor and CPU.
2 Explain the following
1) Machine language2) Low-level language
3) Assembler, Interpreter and Compiler
3 State clearly the advantages and disadvantages of assembly language over high-level
language
4 State the point of difference between embedded system and reprogrammable system
5 List various Bus found in microprocessor. Draw general Bus structure inmicroprocessor based system and explain role of each Bus.
6 What are Tri-State devices? Explain its importance in Bus oriented system
7. Give classification of memory in detail.
8. Explain with and example the difference between Absolute and Partial Decoding.
9 Give a memory map to interface 1 chip of 1 K RAM and 2 chips of 8K ROM. Statethe memory address range of each chip clearly.
10 a) If memory chip size is 2048 x 8 bits, how may chips are required to make up 16 K
byte memory?b) The memory map of a 4 K byte memory chip begins at the location 2000H.
Specify the address of the last location on the chip.
c) The memory address of the last location of a 1K byte memory chip is FBFFH.Specify the starting address.
11 List various pins available in 8085 related toa) Address and data bus
b) Control and Status signals
c) Externally initiated signalsd) Power and clocke) Serial I/O
12 State the function of following pinsa) HOLD and HLDA
b) READY
c) RESET OUTd) SID and SOD
e) S1 and S0
13 Give schematic of de-multiplexing of address and data bus.
14 Explain how various control signals viz. MEMR, MEMW, IOR and IOW signals are
generated
15 Give functional block diagram of 8085 and explain it in brief.
16 Define the following
1) T-Sate 2) Machine Cycle 3) Instruction cycle 4) Timing diagram
17 List all machine cycles in execution of following instructions and give timing
diagram of following instructions
1) MOV 2) MVI 3) LDA 4) SHLD
-
7/31/2019 IMP Question Bank_MP
2/4
18 Explain with a neat sketch decode logic for interfacing LEDs as output port. Give
Timing diagram of OUT instruction.
19 Explain with a neat sketch decode logic for interfacing Dip-switches as input port.
Give timing diagram of IN instruction.
20 State clearly the difference between memory mapped interfacing and peripheral
mapped interfacing for I/O devices
21 Calculate the delay in the following loop, assuming the system clock period of 0.33
microsecond.LXI B, 12FFH
L1: DCX B
NOP
MOV A,CORA B
JNZ L1
22 Write a program to generate a rectangular wave with 200 micro-second on period
and 400 microsecond off-period. Use bit D0 of output port 01H to output rectangular
wave. Assume crystal frequency of 6.14 MHz
23 What is stack and stack pointer? Explain its use in 8085 programming.
24 Explain the sequence of events when following instructions are executed.1) CALL
2) RET
25 Explain the sequence of events when following instructions are executed.
1) PUSH B
2) POP PSW
26 What are interrupts? Explain the difference between following
1) Masked and Unmasked interrupts
2) Vectored and Non-vectored interrupts3) Software and Hardware interrupts
27 Write a short note on hardware interrupts of 8085.
28 Explain RIM and SIM instructions.29 Discuss the algorithm and assembly language program for the following
1) 2 digit BCD (packed) to binary conversion
2) Binary to seven-segment code conversion3) ASCII to HEX conversion
4) BCD addition
Section II
Chapter: 2 Introduction to 8085 assembly language programming
Book: R. S. Gaonkar
Sr.No.
Question
1 Draw and explain the hardware model of 8085.
2 Explain difference between hardware and programming model. Also draw the
programming model of 8085 and explain each and every component in detail.
3 Draw flag register and explain each flag
4 State role of program counter and stack pointerORStatedifference between program counter and stack pointer.
-
7/31/2019 IMP Question Bank_MP
3/4
5 Define instruction and instruction set. Classify instruction set on functional
categories. Also Classify instruction set on word size
6 Enlist various data formats in 8085
7 Explain how microprocessor differentiates between data and instruction code?
Chapter: 6 Introduction to 8085 instructions
Chapter: 7 Programming techniques with additional instructions
Book: R. S. Gaonkar
Sr.No.
Question
8 Define addressing modes. State various addressing modes. Explain each in detail.
9 Explain difference between increment /decrement and addition/subtraction
instruction.
10 Explain various rotate instructions.
11 Enlist various compare instructions. Explain each. Also state the difference between
compare and subtract instruction.
Chapter: 14 Programmable Interface Devices
Appendix: 8279 Programmable display interface
Book: R. S. Gaonkar
8279 Programmable display interface12 Explain advantages and disadvantages of interfacing keyboard and display devices
using 8279 chip over conventional method.
13 Draw the pin diagram of 8279 and explain function of each pin detain
14 Draw the block diagram of 8279 and explain function of each block in detail
15 Explain software commands of 8279 fora) key board and display mode set
b) for program clock, read FIFO/sensor RAM
c) read, write display RAM.d) display write inhibit or blanking, clear display and end interrupt /error mode
set.
Chapter: 15 General purpose programmable peripheral devicesBook: R. S. Gaonkar
8259 - Programmable Interrupt Controller
16 Enlist various features of 8259 Programmable interrupt controller
17 Explain block diagram and pin diagram of 8259.
8253/8254 - Programmable Interval Timer
18 Draw and explain block diagram of 8254/8253 Programmable interval timer
19 Draw pin diagram of 8253/8254 and explain function each pin
20 Explain control word of 8253/8254
21 Enlist various modes of 8253/8254 with waveforms in brief
22 Explain read back command and status byte for 8253/8254
8255 - Programmable Peripheral Interface
23 Draw pin diagram of 8255 and explain function of each pin in detail.
24 Draw & explain in detail the block diagram of 8255
25 Explain the control word format of 8255
26 List the operating modes of the 8255A programmable peripheral interface
27 Explain operation of 8255 in Mode -1 with all handshake signals.
28 Explain operation of 8255 in Mode -2 with all handshake signals.
-
7/31/2019 IMP Question Bank_MP
4/4
29 What do you mean by key debouncing? Explain various techniques to solve the
problem.
8237 - DMA Controller
30 What do we mean by direct memory access? Explain HOLD and HLDA signals
31 Explain 8237 DMA controller with channels and interfacing, DMA signals withblock diagram.
32 What is DMA? Explain the sequence of operation when DMA request is send to
microprocessor. ORExplain the operation of DMA controller when it is in Master and Slave mode.
Chapter: 16 Serial I/O and Data Communications
Book: R. S. Gaonkar
8251 - Programmable Communication Interface
33 Explain difference between
a) synchronous and asynchronous transmission.b) simplex and duplex transmission
34 Explain
a) SID and SOD.b) RS-232C
35 Enlist various READ/WRITE control logic and registers and explain each36 Draw and Explain pin diagram of 8251
37 Draw and Explain block diagram of 8251
ALL STUDENTS WITH D & F GRADE
ATTEMPT ANY 20 QUESTIONS EACH
FROM SECTION I AND II (Total 40)AND SUBMIT AS A PART OF
TERMWORK