You are on page 1of 3

G H PATEL COLLEGE OF ENGINEERING & TECHNOLOGY

DEPARTMENT OF ELECTRICAL ENGINEERING


SECOND SEMESTER 2009 – 2010
140701 : MICROPROCESSOR AND INTERFACING

QUESTION BANK

Architecture and operation

1. Give a general block diagram of a microprocessor based system. Explain briefly


the various blocks of the system. Give some examples of the types of devices
used for each block.
2. What is a microprocessor? Sketch and explain the various pins of 8085.
3. Sketch and explain the signal diagram of 8085.
4. Explain the function of 8085 signals: IO//M, /RD, /WR, S1 & S0, and ALE.
5. Explain the architecture of 8085 with the help of its internal block schematic.
6. Write the flag register and explain each of the flags with an example.
7. Mention the list of registers of 8085 that are accessible to the programmer.
Explain what each of these registers is generally used for.
8. What should be the starting address of ROM for an 8085 microcomputer?
Substantiate your answer.
9. Explain with schematic diagram how separate address, data signals can be
generated from 8085 common address-data lines.
10. Explain the schematic which decodes IO//M, /RD, /WR into four active low signals
/MERD, /MEWR, /IORD and /IOWR.
11. List the status signals in 8085. Explain their functions.
12. List the control signals in 8085. Explain their functions.
13. Explain the functions of following 8085 registers in Intel 8085: HL, STACK
POINTER, and FLAG REGISTER.
14. If the frequency of the crystal connected to 8085 is 6MHz, calculate the time to
fetch and executed NOP instruction.
Programming the 8085

15. Sketch the programming model and explain it in detail.


16. What are the various addressing modes available in 8085? Explain with
examples.
17. Explain the instruction format of 8085 microprocessor with an example.
18. How do you classify the instructions of 8085, based on a) Number of bytes b)
Addressing modes? Explain with examples.
19. Give two examples for each of the following types of instructions and indicate
what each of these instructions do:

a) Instructions with implied addressing.


b) ALU type of instructions.
c) Instructions addressing memory indirectly through any register pair.
d) Conditional branch instructions.
e) Interrupt related instructions.
20. Explain fully the action of the following 8085 instructions: ADC M, STAX D, RLC,
LHLD 9898, and PCHL.
21. Explain the following instructions and indicate the flags affected: DAA, DAD D,
XCHG, HALT & MOV M, A.
22. What is the difference between INR & INX instructions?
23. What the similarity and difference are between subtract and compare
instructions?
24. List out the similarities between CALL_RET and PUSH_POP instructions.
25. Define Instruction cycle, Machine cycle and T-States with examples.
26. Explain the following instructions indicating their addressing modes, flags
affected, number and names of machine cycles on the execution of each: XRA A,
SUB M, & DCXSP.
27. Draw opcodes fetch machine cycle, memory write machine cycle and I/O read
machine cycle and explain.
28. Explain the various steps involved while executing CALL instruction with an
example.
29. Explain DAA instruction with example.
30. Explain the functions and timing associated with STA and RST instructions.
31. Explain the working of CALL address and RET instructions, in terms of machine
cycles.
32. What is a stack? On what principle it works? Is it necessary to intialize stack
pointer while writing program? Explain with example.
33. Mention the uses of stack. Sketch the content of SP and stack memory after the
execution of each of the following instructions in the given order, if SP = 1000h,
BC = 2030h and DE = 4050h initially: PUSH B and PUSH D.
34. With suitable programming example clearly explain passing the parameter
through registers, through memory and through stack.
35. Explain stack operation in detail.
36. Sketch and explain briefly the timing diagram of the instruction MVI A, 32h,
which is stored from address 3000h.
37. Draw the timing diagram for the instruction STA 9000h.
38. What is the use of instruction ORA A? What is the status of CY and AC flags after
the execution of this instruction?
39. Using JMP, can you call a subroutine? Explain with an example and a
corresponding ALP.
40. What is a subroutine? How it is useful? Explain the use of stack in CALL and RET
instructions.
41. Explain any five logical instructions with their function, addressing modes and
flags affected.

Memory/I/O Interface

42. Differentiate between partial decoding and absolute decoding. Give an example.
43. Compare the memory mapped I/O with peripheral mapped I/O.
44. Draw the timing diagram for IN and OUT instructions.
45. Interface the following memory to 8085:
ROM : 2Kx 8-bit, starting address : 0000h
RAM : 2Kx 8-bit, starting address : 8000h
Use absolute address decoding. Show all the control signals interfacing.
46. Design a microcomputer to obtain the following: 4K EPROM, 512 bytes static
RAM, four 8-bit ports. Using
a) Standard I/O and linear decoding.
b) Full decoding using 3x8 decoder.
c) Memory mapped I/O and full decoding.
47. Interface two input ports at addresses FFFOh and FFF1h and two output ports at
addresses 9000h and 9001h using memory mapped I/O. Indicate the
assumptions made if any.
48. Interface 8K bytes of EPROM & 4K bytes of RAM, 8 I/P devices, 8 O/P devices to
a 8085 system in I/O mapped I/O. the memories are provided in 2K bytes ICs.
Give the schematic diagram with address data bus demultiplexing, indicate the
decoding logic & the address space for each.
49. Interface 8K byte RAM and 4K byte EPROM to 8085, by absolute decoding using
74LS138 decoder. Give the memory map starting at address 0000h for EPROM.
50. Explain: i) memory mapped I/O, ii) I/O mapped or standard I/O, iii) serial I/O.
51. Explain why the number of output ports in the peripheral-mapped I/O is
restricted to 256 ports.
52. In the peripheral-mapped I/O, can an input port and an output port have the
same port address? Explain.
53. What are the control signals necessary in the memory-mapped I/O?

You might also like