You are on page 1of 7

QUESTIONS OF MICROPROCESSOR IN UNIVERSITY EXAMINATION

UNIT I

General Questions On Microprocessor

1) Explain program status word? (s-02)


2) explain with example what do you mean by a) absolute decoding b) linear decoding c) foldback
space (s-02)
3) list advantages of the assembly languages in comparison with high level languages(s-02)
4) explain similarities and differences between 8080 and 8085(s-03)
5) differentiate between a) low level language and high level language
b) Compiler and interpreter
c) Machine language and assembly language

6) List the advantages of the assembly language programming in comparison with high level language
7) Discuss difference and similarities between 8080 and 8085
8) What is bus Explain the Bus structure. Why address and data Bus is multiplexed in 8085.
9)
QUESTIONS ON ARCHITECTURE OF 8085
1) explain various control signals generated by control unit of 8085
2) explain block diagram of the 8085
3) explain the architecture of 8085 in detail
4) Explain in detail
a) Program Counter,
b) Stack Pointer
c) Program Status Word,
d) W&Z registers
e) Instruction register
f) Memory address register
g) Accumulator in 8085.
5) How many flags are there in flag register? Explain significance of each.
6) Write a short note on conditional flags in 8085.
7)

QUESTIONS ON PIN DIAGRAM OF 8085

QUESTIONS ON INSTRUCTION SET OF 8085


1) Explain various addressing modes of 8085 with examples
2) Give instructions and data format for 8085 and explain.
3) Explain RIM & SIM instructions in detail with their word formats.
4) Explain CALL & RET instructions in detail.
5) Explain PUSH & POP instructions in detail.

QUESTIONS ON TIMING DIAGRAM OF 8085

Introduction to Microprocessor

1) List the components of a computer


2) Explain the function of each component of a computer.
3) What is a Microprocessor? What is the difference between a Microprocessor & CPU?
4) Define bit, byte, word, double word, quad word and instruction
5) What determines that Microprocessor is an 8, 16 or 32 bit?
6) Explain the difference between the machine language and the assembly language of
the 8085 microprocessor.
7) What is an assembler?
8) What are low and high level languages?
9) What are the advantages of an assembly language in comparison with high level
languages?
10) List the four operations commonly performed by the MPU.
11) Specify the four control signals commonly used by the 8085 MPU.
12)Specify the function of the address bus and the direction of the information flow on
the address bus.
13) Why is the data bus bidirectional?
14) What is a bus?

8085 Microprocessor
15) How many memory locations can be addressed by a microprocessor with 14 address
lines?
16) How many address lines are necessary to address two megabytes (2048K) of
memory?
17) Why is the data bus bidirectional?
18) Specify the control signal and the direction of the data flow on the data bus in a
memory-write operation.
19) What is the function of the accumulator?
20) What is a flag?
21) Why are the program counter and the stack pointer 16-bit registers?
22) What is the function of the WR signal on the memory chip?
23) Specify the number of registers and memory cells in a 128 x 4 memory chip.
24) What is the memory word size required in an 8085 system?
25) While executing a program, when the 8085 MPU completes the fetching of the
machine code located at the memory address 2057H, what is the content of the
program counter?
26) What is the role of clock in Microprocessor?
27) What is the difference between INR & INX instructions?
28) List all the interrupt signals of 8085 microprocessor.
29) Write short note on evolution of microprocessors.
30) Explain the functions of the ALE and IO/M signals of the 8085 microprocessor.
31) List the sequence of events that occurs when the 8085 MPU reads from memory.
32) If the 8085 adds 87H and 79H, specify the contents of the accumulator and the status
of the S, Z, and CY flags.
33) If the clock frequency is 5 MHz, how much time is required to execute an instruction
of 18 T-states?
34) Discuss the programming model of 8085 μP with the help of suitable diagram.
35) Draw and explain the timing diagram for opcode fetch operation
36) Discuss various types of addressing modes of 8085.
37) Explain why the number of output ports in the peripheral-mapped I/O is restricted to
256 ports.
38) In the peripheral-mapped I/O, can an input port and an output port have the same port
address? Explain.
39) What are the control signals necessary in the memory-mapped I/O?
40) List the four categories of 8085 instructions that manipulate data.
41)Define opcode and operand, and specify the opcode and the operand in the instruction
MOV H, L.
42) Write logical steps to add the following two Hex numbers. Both the numbers should
be saved for future use. Save the sum in the accumulator. Numbers:
A2H and 18H.

43) (a)Specify the contents of the registers and the flag status as the following
instructions are executed.
i. MVI A, 00H
ii. MVI B, F8H
iii. MOV C, A
iv. MOV D, B
v. HLT
(b)Write instructions to load the hexadecimal number 65H in register C and 92H in
accumulator A. Display the number 65H at PORT0 and 92H at PORT1.
44) Draw and explain the block diagram of a microprocessor 8085.
45) (a)Why the lower order address bus is multiplexed with data bus? How they will be
de-multiplexed?
(b) Differentiate between maskable and non-maskable interrupts.
46) Write an 8085 assembly language program using minimum number of instructions to
add the 16 bit no. in BC, DE & HL. Store the 16 bit result in DE pair.
47) (a)Explain in detail the following instructions:-
(i) ADC (ii) LHLD (iii) RLC (iv) DI
(b) Define & explain the term addressing modes.

8085 MICROPROCESSOR
PART-A (2 MARKS)
1. Name the various flag bits available in 8085 microprocessor?
2. Give the significance of SIM and RIM instructions available in 8085?
3. How do the address and data lines are demultiplexed in 8085?
4. List various instructions that can be used to clear accumulator in 8085?
5. When the Ready signal of 8085 is sampled by the processor?
6. List out the the similarities b/w the CALL_RET and PUSH_POP instructions?
7. What is the need of ALE signal in 8085?
8. What are the addressing modes of 8085?
9. List the interrupt signals of 8085?
10. Why multiplexing is done in 8085?
11. List the limitations of 8085?
12. What is DMA?
13. Define machine cycle and instruction cycle?
14. Why address bus is unidirectional?
15. List few instructions to clear accumulator?
16. What is the function of NOP instruction?

PART-B
1. a. Draw the block diagram of 8085 mp and explain?
b. Write an assembly language program to add two 2-digits BCD Number? (4)
2. a. Explain the instruction set of 8085?
b. Write notes on status flag?
3. a. Explain the architecture of Intel 8085 with the help of a block diagram?
b. Explain the similarities diff b/w subtract and compare instructions in 8085?
4. a. Describe the sequence of event that may occur during the different T state in the opcode
fetch machine cycle of 8085?
b. Write an assembly language program to convert on array of ASCII code to corresponding
binary (hex) value. The ASCII array is stored starting from 4200H.The first element of the
number of elements in the array.
5. a. With neat block diagram explain the architecture of 8085?
b. List out the maskable and non maskable interrupts available in 8085?
6. a. How do the instructions of 8085 is classified based on their function and word length?
Give an example?
b. Write an ALP to Add two 8bit numbers?

Microprocessor system peripheral and interface


1) What is interfacing?
2) Explain the concept of Direct Memory Access (DMA).
3) Explain the functions of Handshake signals.
4) Explain what SIM is. Discuss the bit pattern of the accumulator for SIM instruction.
5) List the operating modes of the 8155A programmable device.
6) Write a note on any of the applications of microprocessors.
7) Explain the DMA controller 8257?
8) Draw the block diagram of 8255 and explain its working. What is Control Word?
9) Determine the control word for the following configuration of 8255:-
Port A – Output
Mode of port A – Mode 1
Port B – Output
Mode of port B – Mode 0
Port C lower (pins PC0 – PC2) – Output
10) What is 8254? Discuss its various operating modes. What are its areas of
applications?
11) Explain major components of 8259 with the aid of suitable diagram.
12) Explain USART in detail.
13) Explain the functional diagram of keyboard and display controller.
14) Explain the functional diagram of 8155 and explain its control word

8086 Microprocessor
1) What are important signals of Intel 8086?
2) How many operating modes does 8086 have?
3) How many functional units does 8086 contain?
4) What is the function of a segment register in 8086?
5) What are conditional and control flags in 8086?
6) How many interrupt lines does 8086 have?
7) What physical address is represented by:
(i) 4370 : 561E H (ii) 7A32 : 0028 H
8) Describe the difference between the instructions:
(i) MOV AL, 0DB H (ii) MOV AL,DB H
Marks: 5 each
9) Briefly explain the maximum mode configuration of 8086.
10) What is the difference between minimum and maximum modes of 8086?
11) How many interrupts are available in 8086? List the predefined software interrupts available in 8086.
12) Briefly explain the maximum mode configuration of 8086.
13) What is the purpose of MN/Mx pin? Explain.
14) Explain the concept of segmented memory? What are its advantages?
15) 62. Explain the concept of pipelining in 8086. Discuss its advantages and disadvantages.
16) Marks: 10 each
17) Discuss the interrupt system of Intel 8086. What is interrupt pointer? What is 'type' of an interrupt?
18) Discuss the various addressing modes of 8086. What are displacement, base and index? What is an
effective address or offset?
19) What is the difference between minimum and maximum modes of 8086? How are these modes selected?
20) Draw and explain the architecture of 8086.
21) Write an 8086 program to add two 16-bit numbers in CX and DX and store the result in location 0500H
addressed by DI.
a. Description of Instructions
Q1. If BH = 0F3H what is the value of BH in hex after the instruction SAR BH, 1
Q2. IF AL = 78H and BL=73H explain how DAS instruction ( after subtracting BL from AL ) adjusts to the BCD
result
Q3. If CL=78H what is the value of CL after the instruction ROL CL, 3
Q4. Why AAD is to be executed before DIV instruction while converting unpacked BCD to Binary number
Q4. Under what conditions REPE MOVS executes
Q5. Explain XLAT instruction to linearize transducer characteristics
Q6. Explain intra segment and inter segment branch instructions with examples the instructions related to
arithmetic and logical shift.
Q7. Explain all addressing modes with the assembler syntax and how effective address is calculated
b. Assembly directives.
Q1. Explain EQU directive with example
Q2. Explain SEGMENT directives with examples
Q3. Explain coding template for 8086 instruction
c. Algorithms with assembly software programs
Q1. Write an algorithm to compute Fibonacci numbers using a recursive procedure. Write 8086 assembly program
for the above
Q2. Write an algorithm and assembly program to convert an unpacked 4 digit number to Binary number.
Q3. Write an algorithm and assembly program to convert a 16 bit number to a maximum of 5 unpacked digits
Q4. Write an algorithm and assembly program to convert an unpacked 4 digit number to Binary number.
Q5. Write an algorithm and assembly program to find the square root of a 16 bit number using shift and subtract
method.
Q6. Write an algorithm and assembly program to reverse the bits in a 16 bit number and check whether it is a
palindrome.
Q7. Write an algorithm and assembly program for a cash bill of n materials. Rupees is a 4 digit and paisa is a 2
digit number which are stored in two different arrays. Find the total amount for the n materials. Subtract 10%
discount on the total and give the actual amount to be paid. Hint Shift the total amount by one digit to get the 10%
discount and get the actual amount.
UNIT-IV
I/O INTERFACING
PART-A (2 MARKS)
1. Name the two modes of operation of DMA controller?
2. List the operating modes of 8253 timer.
3. Give the control word format of timer?
4. What is the use of USART?
5. Compare serial and parallel communication.
6. What is the use of Keyboard and display controller?
7. What are the functions performed by 8279?
8. What is PPI?
9. Give the control word format for I/O mode of 8255?
10. Give the BSR mode format of 8255.
11. What is the need for interrupt controller?
12. What are the registers present in 8259?
13. What are the applications of 8253?
14. Define interrupts.
15. Define DMA process.
16. Give the status word format of 8257.
PART-B
1. Draw the Block diagram and explain the operations of 8251 serial communication
interface. (16)
2. Draw the Block diagram of 8279 and explain the functions of each block. (16)
3. Draw the block diagram of programmable interrupt controller and explain its operations.
(16)
4. Discuss in detail about the operation of timer along with its various modes. (16)
5. Draw the Block diagram of DMA controller and explain its operations. (16)