1 Microprocessors & Micro controllers Viva Questions

1. Definition of Microprocessor ? 2. Definition of Microcontroller ? 3. Examples for Microprocessor ? 4. Examples for Microcontroller ? 5. Difference between Microprocessor & Microcontroller? 6. Pin configuration of 8086 and significance of each pin? 7. Pin configuration of 8051 and significance of each pin ? 8. Addressing modes of 8086 ? 9. Addressing modes of 8051 ? 10. Instruction set of 8086 ? a. Arithmetic-ADD,SUB,MUL,DIV,IMUL,IDIV b. Logical-AND,OR,XOR,NOT c. Branch-JMP,CALL d. ASCII-AAA,AAS,AAM,AAD e. Shift and Rotate-SHL,SHR,ROR,ROL f. String-MOVSB,CMPSB 11. Instruction set of 8051 ? a. Arithmetic-ADD,SUB,MUL,DIV,IMUL,IDIV b. Logical-AND,OR,XOR,NOT c. Branch-JMP,CALL d. ASCII-AAA,AAS,AAM,AAD e. Shift and Rotate-SHL,SHR,ROR,ROL f. String-MOVSB,CMPSB g.
Prepared by Kiran Kishore Valathati…..

2 Microprocessors & Micro controllers Viva Questions

12. 13. 14. 15. 16.

Register organization of 8086 i.e. types? Flag Register of 8086 importance of each flag? Register organization of 8051 ? Abbreviation for ASCII ? ASCII numbers range ?
Numbers 0-9 ASCII 48 to 57 in Hexa 30 to 39

ASCII alphabets range ?
Lowercase letters a-z ASCII 97 to 122 in Hexa 61 to 7A Uppercase letters A-Z ASCII 65-90 in Hexa 41 to 5A

17. 18. 19. 20. 21. 22.

ASCII characters range ?
128 to 255; in Hexa 80 to FF

Define Signed number ? Define UN Signed number? How to represent a negative number? Types of shift instructions
SAR,SAL

Types of rotate instructions
RRC,RLC SHL performs MULl by 2 operation SHR performs DIV by 2 operation

23.

Define Sorting? Types of Sorting ?
sorting algorithm is an algorithm that puts elements of a list in a certain order. These are some sorting techs, bubble sort quick sort insertion sort selection sort merge sort heap sort

Prepared by Kiran Kishore Valathati…..

3 Microprocessors & Micro controllers Viva Questions

Interfacing:
8279:
Keyboard and Display Manufactured by Intel 40 pin device Pin diagram Uses FIFO register Modes :Key board modes:Key board mode, Scanned Senor mode Keyboard input mode Displaymodes: Encoded mode, Decoded mode (LEM,REM) 7 segment display.code: “hgfe dcba”

8251
UART: universal asynchronous receiver/transmitter, Manufactured by Intel 40 pin device. Pin diagram Features: Modes: Applications:

Prepared by Kiran Kishore Valathati…..

4 Microprocessors & Micro controllers Viva Questions

8255
PPI-programmable peripheral interface Programmable parallel io device Manufactured by Intel 40 pin device Pin diagram Modes: BSR mode,IO-Mode 0,Mode 1,Mode 2. Advantages: Applications:

8051
Standard micro controller Manufactured by Intel 40 pin device Pin diagram Serial communication Parallel Communication Advantages: Applications:

Prepared by Kiran Kishore Valathati…..

5 Microprocessors & Micro controllers Viva Questions

1. 2. 3. 4. 5. 6. 7. 8. 9.

How many bit 8086 microprocessor is? What is the size of data bus of 8086? What is the size of address bus of 8086? What is the max memory addressing capacity of 8086? Which are the basic parts of 8086? What are the functions of BIU? What are the functions of EU? How many pin IC 8086 is? What IC8086 is?

10. What is the size of instruction queue in 8086? 11. What is the size of instruction queue in 8088? 12. Which are the registers present in 8086? 13. What do you mean by pipelining in 8086? 14. How many 16 bit registers are available in 8086? 15. Specify addressing modes for any instruction? 16. What do you mean by assembler directives? 17. What is the supply requirement of 8086? 18. What is the relation between 8086 processor frequency & crystal frequency? 19. Functions of Accumulator or AX register? 20. Functions of BX register? 21. Functions of CX register? 22. Functions of DX register? 23. How Physical address is generated? 24. Which are pointers present in this 8086?
Prepared by Kiran Kishore Valathati…..

6 Microprocessors & Micro controllers Viva Questions

25. How many segments present in it? 26. What is the size of each segment? 27. Basic difference between 8051 and 8086? 28. What is meant by Maskable interrupts? - An interrupt that can be turned off by the programmer is known as Maskable interrupt. 29. What is Non-Maskable interrupts? - An interrupt which can be never be turned off (ie.disabled) is known as Non-Maskable interrupt. 30. Which interrupts are generally used for critical events? - NonMaskable interrupts are used in critical events. Such as Power failure, Emergency, Shut off etc., 31. What is the Maximum clock frequency in 8086? - 5 Mhz is the Maximum clock frequency in 8086. 32. What are the various segment registers in 8086? - Code, Data, Stack, Extra Segment registers in 8086. 33. Which Stack is used in 8086? - FIFO (First In First Out) stack is used in 8086.In this type of Stack the first stored information is retrieved first. 34. What is SIM and RIM instructions? - SIM is Set Interrupt Mask. Used to mask the hardware interrupts. RIM is Read Interrupt Mask. Used to check whether the interrupt is Masked or not. 35. Which is the tool used to connect the user and the computer? Interpreter is the tool used to connect the user and the tool. 36. What is the position of the Stack Pointer after the PUSH instruction? - The address line is 02 less than the earlier value.
Prepared by Kiran Kishore Valathati…..

7 Microprocessors & Micro controllers Viva Questions

37. What is the position of the Stack Pointer after the POP instruction? - The address line is 02 greater than the earlier value. 38. Logic calculations are done in which type of registers? Accumulator is the register in which Arithmetic and Logic calculations are done. 39. What are the different functional units in 8086? - Bus Interface Unit and Execution unit, are the two different functional units in 8086. 40. Give examples for Micro controller? - Z80, Intel MSC51 &96, Motorola are the best examples of Microcontroller. 41. What is meant by cross-compiler? - A program runs on one machine and executes on another is called as cross-compiler. 42. Which Segment is used to store interrupt and subroutine return address registers? - Stack Segment in segment register is used to store interrupt and subroutine return address registers. 43. Which Flags can be set or reset by the programmer and also used to control the operation of the processor? - Trace Flag, Interrupt Flag, Direction Flag. 44. What does EU do? - Execution Unit receives program instruction codes and data from BIU, executes these instructions and store the result in general registers. 45. Which microprocessor accepts the program written for 8086 without any changes? - 8088 is that processor. 46. What is the difference between 8086 and 8088? - The BIU in 8088 is 8-bit data bus & 16- bit in 8086.Instruction queue is 4 byte long in 8088and 6 byte in 8086.
Prepared by Kiran Kishore Valathati…..

8 Microprocessors & Micro controllers Viva Questions

47. What is the difference between min mode and max mode of 8086? 48. What is the difference between near and far procedure? 49. What is the difference between Macro and procedure? 50. What is the difference between instructions RET & IRET? 51. What is the difference between instructions MUL & IMUL? 52. What is the difference between instructions DIV & IDIV? 53. What is difference between shifts and rotate instructions? 54. Which are strings related instructions? 55. Which are addressing modes and their examples in 8086? 56. What does u mean by directives? 57. What does u mean by Prefix? 58. What .model small means? 59. Difference between small, medium, tiny, huge? 60. What is dd, dw, db? 61. Interrupts in 8086 and there function. 62. What is the function of 01h of Int 21h? 63. What is the function of 02h of Int 21h? 64. What is the function of 09h of Int 21h? 65. What is the function of 0Ah of Int 21h? 66. What is the function of 4ch of Int 21h? 67. What is the size of flag register in 8086? Explain all. 68. Which are the default segment base: offset pairs? 69. Can we use SP as offset address holder with CS? 70. Which are the base registers in 8086? 71. Which is the index registers in 8086?
Prepared by Kiran Kishore Valathati…..

9 Microprocessors & Micro controllers Viva Questions

72. What do you mean by macro? 73. What is diff between macro and procedure? 74. What TASM is? 75. What do u mean by assembler? 76. What do u mean by linker? 77. What do u mean by loader? 78. What do u mean by compiler? 79. What do u mean by emulator? 80. Stack related instruction? 81. What is the size of flag register? 82. Can you perform 32 bit operation with 8086? How? 83. Whether 8086 is compatible with Pentium processor? 84. While accepting no. from user why u need to subtract 30 from that? 85. What are ASCII codes for nos. 0 to F? 86. How does U differentiate between positive and negative numbers? 87. What is range for these numbers? 88. Which no. representation system you have used? 89. What is LEA? 90. What is maximum size of the instruction in 8086? 91. Why we indicate FF as 0FF in program? 92. What is the advantage of using internal registers? 93. What is SI, DI and their functions? 94. Which are the pointers used in 8086 and their functions? 95. What is a type of queue in 8086? 96. What is minimum mode of 8086?
Prepared by Kiran Kishore Valathati…..

10 Microprocessors & Micro controllers Viva Questions

97. What is maximum mode of 8086? 98. Which are string instructions? 99. In string operations which is by default string source pointer? 100. What IC 8255 is? 101. How many pin IC 8255 is? 102. Explain control word format of 8255 ? 103. what is segmentation? 104. how many bit processor does 8086? 105. how many address lines in 8086 106. how many data lines in 8086? 107. multiplexed lines in 8086? 108. over flow flag, interrupt flag ,direction flag, trap flag? 109. Role of pointers ? 110. how 16 bit processor generates 20 bit addresses 111. timing diagram of 8086 112. min/max mode working of 8086? 113. pin difference in min/max mode 114. interrupt structure in 8086? 115. how an interrupt is acknowledged?

Prepared by Kiran Kishore Valathati…..

11 Microprocessors & Micro controllers Viva Questions

INTERRUPTS: 1) What do you mean by interrupt? 2) Which are the hardware and software interrupts in 8086? 3) Mention the priority of interrupts in8086. 4) What is int1, int2, int3? 5) What do you mean by NMI interrupt? 6) What do you mean by IVT in 8086? 7) Which steps 8086 follows to handle any interrupt? INTERFACING: 1) What are the types of interfacing? 2) Compare memory interfacing and IO interfacing. 3) What are the types of IO interfacing? 4) What is the difference between direct and indirect IO interfacing? 5) What is the difference between memory mapped IO and IO mapped IO interfacing?

Prepared by Kiran Kishore Valathati…..

Master your semester with Scribd & The New York Times

Special offer for students: Only $4.99/month.

Master your semester with Scribd & The New York Times

Cancel anytime.