SUB: Microprocessors SUB CODE: EC45 CHAPTER 1: 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 operation of 8085 signals: READY, S1 & S0, HOLD & HLDA 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 are generally used for. 8. What should be the starting address of ROM for an 8085 microcomputer? Substantiate your answer. 9. Explain the purpose of the following signals of 8085: AD0-AD7, /RESET IN, RESET OUT, and RST 7.5. 10. Explain with schematic diagram how separate address, data signals can be generated from 8085 common address-data lines. 11. Explain the schematic which decodes IO//M, /RD, /WR into two active low signals /MERD, /MEWR, /IORD and /IOWR. 12. List the status signals in 8085. Explain their functions. 13. List the control signals in 8085. Explain their functions. 14. Explain, how the microprocessor works? 15. Explain the operations of microprocessor. 16. What are RAM’s and ROM’s? why should both of these be used in an 8085 system? 17. Explain the functions of following 8085 registers in Intel 8085: HL, STACK POINTER, and FLAG REGISTER.

CHAPTER 2: Programming the 8085. 18. 19. Sketch the programming model and explain in detail. What are the various addressing modes available in 8085? Explain with examples. 20. Explain the instruction format of 8085 microprocessor with an example. 21. How do you classify the instructions of 8085, based on a) Number of bytes b) Addressing modes? Explain with examples. 22. 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.

Write a recursive subroutine named FACT to find factorial of the number in 8085. Define Instruction cycle. e. Explain the following instructions indicating their addressing modes. 27. Sketch the content of SP and stack memory after the execution of each of the following instructions in the given order. 28. 34. XCHG. 33. 31. through memory and through stack. 41. Write a program in 8085 to convert the binary number stored in location XX20h to BCD. SUB M. and TRAP. Explain DAA instruction with example. RLC. Store number of 1’s at 9101h and number of 0’s at 9102h. if SP = 1000h. Explain the working of CALL address and RET instructions. Write an ALP to count number of 1’s and 0’s present in a hex byte present at 9100h memory location. With suitable programming example clearly explain passing the parameter through registers. in terms of machine cycles. Machine cycle and T-States with examples. flags affected. Explain stack operation in detail. DAD D. Mention the uses of stack. Write an 8085 program to simulate a decimal upcounter to count 00 to 99. Explain the various steps involved while executing CALL instruction with an example. can you call a subroutine? Explain with an example and a corresponding ALP. . Conditional branch instructions. Explain the following instructions and indicate the flags affected: DAA. Sketch and explain briefly the timing diagram of the instruction MVI A. 32. BC = 2030h and DE = 4050h initially: PUSH B and PUSH D.c. 35. A. 36. 29. 37. 44. 25. Use delay of 100 msec in between counts. Explain fully the action of the following 8085 instructions: ADC M. HALT & MOV M. d. STAX D. Using JMP. 39. 32h. Draw the timing diagram for the instruction STA 9000h. Assume the operating frequency as 2 MHz. 26. What is a stack? On what principle it works? Is it necessary to intialize stack pointer while writing program? Explain with example. What is the use of instruction ORA A? What is the status of CY and AC flags after the execution of this instruction? 42. Draw opcodes fetch machine cycle. 43. Instructions addressing memory indirectly through any register pair. memory write machine cycle and I/O read machine cycle and explain. which is stored from address 3000h. 38. 23. number and names of machine cycles on the execution of each: XRA A. Explain your program with only comments. Store the possible three BCD digits in unpacked manner from location XX50h. Explain the functions and timing associated with STA and RST instructions. 24. 30. Write an ALP for 8085 to multiply two 8-bit numbers. Interrupt related instructions. LHLD 9898. 40. & DCXSP.

the memories are provided in 2K bytes ICs. 52. static a. Write an ALP for 8085 processor to separate ODD and EVEN numbers from an array of 16 numbers stored from F100h. starting address : 8000h Use absolute address decoding. Full decoding using 3x8 decoder. . using Standard I/O and linear decoding. 57. Design a microcomputer to obtain the following: 4K EPROM. Interface two input ports at addresses FFFOh and FFF1h and two output ports at addresses 9000h and 9001h using memory mapped I/O. 50. Consider the 8085 clocked at 5 MHz. Explain in detail the interrupt system of 8085. What is a subroutine? How it is useful? Explain the use of stack in CALL and RET instructions. 53. c. four 8-bit ports. 512 bytes RAM. CHAPTER 3: Memory Interface 49. 48. addressing modes and flags affected. One must Cover lab programs also. 47. Store the EVEN numbers from F120h and ODD numbers from F150h. using 2716. Differentiate between partial decoding and absolute decoding in case of device (memory I/O) selection. Indicate the assumptions made if any. Interface the following memory to 8085: ROM : 2Kx 8-bit. starting address : 0000h RAM : 2Kx 8-bit. 55. Interface 8K byte RAM and 4K byte EPROM to 8085. indicate the decoding logic & the address space for each. iii) serial I/O. 8 I/P devices. ii) I/O mapped or standard I/O.45. Give an example. Show all the control signals interfacing. by absolute decoding using 74LS138 decoder. Write an ALP subroutine to produce a delay of 1 second. Interface 8K bytes of EPROM & 4K bytes of RAM. NOTE: Any of the instructions can be asked for explanation. 59. Memory mapped I/O and full decoding. b. 8 O/P devices to a 8085 system in I/O mapped I/O. 54. Compare the memory mapped I/O with peripheral mapped I/O. Explain: i) memory mapped I/O. Give the memory map starting at address 0000h for EPROM. Give the schematic diagram with address data bus demultiplexing. using 6116. 56. 46. Explain any five logical instructions with their function. 51. 58. CHAPTER 4: Interrupts 60.

Assume port address 50h for data and 51h for control/status. Write a short note on 8279 keyboard/display interface. Explain the operation of 8255 PPI chip with its internal block schematic. 85. No parity check and 1 stop bit. Explain the features and operation of DMA controller 8257 with a block schematic. command word format & status word format of 8251. Briefly explain its different modes of operation. Write an ALP to generate square wave using 8255. Character length = 8 bits. Explain its mode 0. iii) Internal and external interrupt. What is meant by priority interrupts? Explain the operation of different interrupts available in 8085. Also discuss the features available in 8251. 63. 70. with the help of circuit diagram. Write an ALP to generate a key code for the key pressed. 69. 62. In respect of each of these pins describe how the processor obtains the starting address of the interrupt service routine. explain the different features available in 8279. 84. ii) Maskable and non maskable interrupt. Explain the different functions available in priority interrupt controller.61. 67. 64. How is the device priority determined in hardware polling? Explain. iv) Software and hardware interrupt. 71. 76. mode 1 and BSR modes. The data is stored at address 1A00h. Explain interrupt driven I/O technique. 73. Distinguish between: i) Vectored and non vectored interrupt. 78. 79. Write & explain the mode word format. 82. How 8085 responds to INTR interrupt? CHAPTER 5: Interfacing of peripherals (I/Os) and applications. Explain how 8259 communicates with 8085. Explain with block diagram the 8253 timer chip and its operation. Explain with diagram serial synchronous and asynchronous data formats of 8251. Explain with block diagram the USART 8251 chip and its operation. 83. Show how you would interface a keyboard to an 8085 processor using 8255. Explain the features of 8253. Write ALP to intialize 8251 USART and receive data on polled basis given the parameters: Baud rate factor = 64. 74. 75. 68. What are the maximum and minimum frequencies that can be generated using 8155 timer section when 8085 clock is 3 MHz. . 81. Write the signals of RS232 port. 80. Write a program to transmit 8 bit data through SOD pin starting with MSB. 66. Interface an A/D converter to 8085 and write a program to convert the analog input to digital. 65. Design and explain a scheme to interrupt on INTR of 8085. With the help of functional block diagram. 77. 72. Which characteristics of an I/O device makes it necessary to interface the device through DMA? Explain the DMA operation in detail. Indicate all the pins of 8085 through which the processor can be interrupted. Explain how data can be transferred using 8251 USART at different baud rates.

Sign up to vote on this title
UsefulNot useful