Mpi Pyqs
Mpi Pyqs
___________
1
(b) Explain working of seven segment LED display with its types. 04
(c) What is Analog to Digital converter ? Explain working of any A to D 07
converter with its block diagram.
*******************
.
2
Seat No.: ________ Enrolment No.___________
Marks
Q.1 (a) Define: Microprocessor, Assembly language & Compiler. 03
(b) Describe 8085 Flag register. 04
(c) Draw the functional block diagram of 8085 microprocessor and explain 07
power supply & clock frequency signals.
1
(c) With neat block diagram explain 8253 Programmable Interval Timer 07
peripheral chip.
OR
Q.5 (a) Explain following instructions: 03
[1] STA 2050h [2] ANA B [3] RRC
(b) Describe interpretation of each bits in RIM (Read Interrupt Mask) 04
instruction.
(c) Draw the internal block diagram of 8255 Programmable Peripheral 07
Interface and explain in brief.
*****
2
Seat No.: ________ Enrolment No.___________
Marks
Q.1 (a) Explain the difference between machine language and assembly 03
language with example.
(c) If 8bytes of data are stored at the memory location starting from 07
C050H; write an ALP to arrange them in ascending order.
Q.2 (a) Specify the contents of accumulator and flag when the following 03
instructions are executed.
MVI A, C5H
ORA A
RAL
RRC
(c) Draw the timing diagram of MOV C, A having an opcode 4FH. 07
Also find the total time to execute this instruction by MPU.
OR
(c) Draw the data flow for MOV C,A instruction execution by MPU 07
and describe the steps of execution in brief.
Q.3 (a) Draw the schematic for latching low order address bus of 8085 03
microprocessor.
(b) 1) Register B contains 32H.Copy the contents of B to memory 04
location 8000H using indirect addressing.
2) The accumulator has FAH. Copy the content of accumulator
into memory location 8050H using direct addressing.
(c) Draw the interfacing scheme for connecting 8155 memory RAM 07
of 256 bytes size with 8085. Show the decoding logic using 3 to
8 decoder and also mention the memory map of it.
OR
Q.3 (a) Explain how the foldback memory space is generated while using 03
partial decoding scheme while interfacing memory or I/O with
8085.
(b) Draw the block diagram of 8254 programmable timer/counter and 04
write the steps needed to program to initialize the counter.
(c) Draw the interfacing scheme for connecting 2732 EPROM of 07
4096 bytes size with 8085. Show the absolute decoding logic
using 3 to 8 decoder and also mention the memory map of it.
Q.4 (a) Explain the concept of Nesting and Multiple Ending subroutines 03
using Call instruction.
1
(b) Write three different instructions to transfer the data from 04
memory to microprocessor 8085 with graphical representation
showing register contents and flow of data from memory to MPU.
(c) Write the necessary steps for interfacing I/O device with 8085 and 07
draw the block diagram of I/O interface requirements.
OR
Q.4 (a) Specify the output at PORT 1 after execution of following 03
program.
MVI B,82H
MOV A,B
MOV C,A
MVI D,37H
OUT PORT1
HLT
2
Seat No.: ________ Enrolment No.___________
MARKS
Q.1 (a) Distinguish between assembly language and high level languages 03
(b) Explain functioning of following pins of 8085. 04
(i) HOLD (ii) INTR (iii) READY (iv) ALE
(c) What do we mean by Addressing Modes? Explain, giving suitable example, all 07
the addressing modes supported by 8085.
Q.2 (a) Draw circuit diagram to generate memory and I/O read write control signal by 03
8085.
(b) Explain the operation of 8085 pin signals: AD0-AD7, HOLD and S0 & S1 04
(c) Draw and Explain the functional block diagram of internal architecture of 8085 07
and explain its working.
Q.5 (a) Define vector interrupt. List of total vector interrupts of 8085. 03
(b) Write the steps of responding to interrupt by 8085 microprocessor in detail. 04
(c) Explain the function of RIM and SIM instructions in 8085 with description of 07
each bit.
Q.6 (a) Write the differences between software interrupts and hardware interrupts. 03
(b) What is key bouncing? How can we remove key bouncing problem using 04
hardware method?
(c) Draw the diagram to interface 4X4 matrix keyboard with 8085 using 8255A 07
and write an assembly language program to find out which key is pressed.
Q.7 (a) Write an Assembly Language Program to generate square wave using 8255. 03
(b) Write an assembly language program to convert BCD number into its 04
equivalent hexadecimal number and store it at memory location 3000H.
1
(c) Draw and explain he functional block of IC 8255A and also discuss the 07
operating modes and control word format of 8255A.
Q.8 (a) Define Interrupt Service Routine, also mention vector addresses of TRAP, 03
RST7.5, RST6.5, RST5.5 interrupts
(b) Assume that a seven segment display is connected to 8085 through port A of 04
8255A, write an assembly language program to display numbers from 1 to 9 on
seven segment display at some particular delay.
(c) Explain with block diagram the 8253 timer chip and its operation 07
*************
2
Seat No.: ________ Enrolment No.___________
Marks
Q.1 (a) Define Microprocessor. Draw block diagram of traditional computer. 03
Q.2 (a) Distinguish between machine level and higher level language. 03
(c) Illustrate the steps and execution of MVI A, 34H instruction stored at 07
memory location 2200H with timing diagram.
OR
(c) Define instruction cycle, machine cycle and T-state. Explain execution 07
of MOV C, A instruction using timing diagram.
1
Store the result in memory 4100H.
(c) Describe basic concepts of Digital to Analog converter. Interface 8-bit 07
DAC with 8085 microprocessor.
Q.5 (a) Explain conditional jump instructions briefly. 03
(b) Describe interpretation of each bits in SIM (Set Interrupt Mask) 04
instruction.
(c) Discuss interfacing chip 8255A Programmable Peripheral Interface with 07
neat block diagram.
OR
Q.5 (a) Explain following instructions: 03
[1] LDAX B [2] RLC [3] DAA
(b) Describe 8085 interrupts with their vector locations. 04
(c) Draw and explain block diagram of 8253 Programmable Interval Timer. 07
*****
2
Seat No.: ________ Enrolment No.___________
MARKS
Q.2 (a) What will be the value in accumulator, for the given 8085 program 03
below?
MVI C,7FH
MVI B, AAH
MOV A, B
RLC
RLC
ANI 7FH
HLT
(b) Interface 6116 Memory chip of size 2048*8 . Write the memory 04
map also.(Note:Use 3 to 8 decoder for address decoding.)
(c) Draw the timing diagram for following instruction. The 07
instruction is stored at memory location started at 20FF .
Memory location Mnemonics opcode
20FF MVI B,48H 06
OR
(c) Design an interfacing diagram to interface seven segment LED 07
with MP to display digit ‘7’ on it. Use address F5H as output port
address. Note: use 74LS138 3 to 8 decoder, 74LS20 4 input
NAND gate,74LS02 NOR gate, and common cathode seven
segment LED.
Q.3 (a) What will be the value in accumulator, for the given 8085 03
program below?
MVI A, 07H
RLC
MOV B,A
RLC
RLC
RLC
ORA B
HLT
1
(b) Explain following instructions with example: 04
[1] LDAX [2] RLC [3] INX [4] MOV R,M
(c) An array of twenty data bytes is stored on memory locations 07
2000H onwards. Write an 8085 assembly language program to
count the number of zeros, odd numbers and even numbers and
store them on memory locations 3000H, 3001H and 3002H
respectively.
OR
Q.3 (a) What is the output at PORT1 when the following instructions are 03
executed?
MVI A, 8FH
ADI 72H
JC DISPLAY
OUT PORT1
HLT
DISPLAY: XRA A
OUT PORT1
HLT
(b) Define subroutine. Describe conditional and non conditional 04
CALL and RET instructions with example.
(c) Write an 8085 assembly language program to arrange the 07
following numbers in ascending order: 10H, 27H, 16H, 23H,
57H.
Q.4 (a) Describe in brief two types of ADC with their atleast three 03
features.
(b) Explain the key interfacing and key bouncing problem. Draw the 04
physical hardware circuit for key debouncing.
(c) Write and assembly program to find out square of five given data. 07
These data and result should be stored in memory. Result should
be stored from 0005H
Memory location data
0000H 01H
0001H 02H
0002H 03H
0003H 04H
0004H 05H
OR
Q.4 (a) Calculate total time delay of given program. Assume frequency 03
2MHz.
LXI
B,2384H
LOOP: DCX B
MOV A,C
ORA B
JNZ LOOP
HLT
(b) Draw the flowchart for key check subroutine when matrix 04
keyboard is interfaced with MP.
(c) An array of ten data bytes is stored on memory locations 2500H 07
onwards. Write an 8085 assembly language program to count the
number of zeros, positive numbers and negative numbers and
store them on memory locations 4000H, 4001H and 4002H
respectively.
2
Q.5 (a) What is interrupt? List hardware interrupts of 8085. 03
(b) 04
Fig 5.b
For interfacing of 8255 with MP,given in the above Figure, Find
the control word to set and reset bit PC7.
(c) Draw the interfacing circuit of ADC with MP. Write the program 07
to read the content of converted data to MP.
OR
Q.5 (a) In the given figure 03
Fig 5.a
1) Identify the Port addresses.
2) Find out Control Word in Mode 0 to configure Port A and Port
CU as output port and Port B and Port CL as input port.
(b) Write a program for the above diagram of Fig 5. to read DIP 04
switches and display the data read to LED connected to Port A.
(c) Draw the basic block diagram for 8253 programmable 07
Timer/Counter . Define the various mode of operations based on
status of various Control Word Register of 8253 Timer/Counter.
*************