0% found this document useful (0 votes)
14 views

Microprocessors & Microcontrollers

Uploaded by

satya
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views

Microprocessors & Microcontrollers

Uploaded by

satya
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 12

1.

Group - A (Short Answer Questions)

QUESTION
S. No

Define Microprocessor and give the power supply & clock


1.
frequency of 8085.
2. List few applications of microprocessor-based system.
3. Compare 8085 & 8086 microprocessor.
4. List the allowed register pairs of 8085.
5. List the interrupts of 8085.
6. List features of 8086 microprocessor.
7. Name the functional units of 8086 microprocessor
8. Explain the functions of an accumulator.
9. Explain why 8086 internal architecture is divided into BIU & EU.
10. Discuss the functions of BIU.
11. Demonstrate the functions of EU.
12. Name the registers of 8086.
13. Describe the flag register of 8086.
14. Evaluate the physical address, if base address is 5200H & offset address is 4510H.
15. Explain the physical memory organization of 8086.
16. List the operating modes of 8086.
List the minimum mode signals.
17.
18. List the maximum mode signals.
19.
Explain ALE, /S7, DEN, DT/R.
20.
Explain READY, MN/ HOLD, and HOLDA.
21. Indicate the interrupts of 8086.
Categorize the sources of interrupts.
22.
Explain hardware interrupts.
23.
24. Define addressing mode. Write the names of 8086 addressing modes.
25. Demonstrate about the immediate addressing mode of 8086 with an example.
26. Define & explain the use of relative plus addressing mode.
Explain the instructions formats in 8086.
27.
Define an instruction, opcode & operands.
28.
29. Demonstrate the following instructions of 8086.
a) ADC b) AAS c) IMUL d) CBW
30. Explain the meaning of following instructions.
a) MOV BX,[1234H] b) ADC AX,BX
31. Demonstrate the instructions which will not affect flag registers.
Explain ESC, NOP & LOCK instructions of 8086.
32.

Explain PUSH & POP instructions.


33.

34. Explain XLAT instructions.


35. Describe the 16- bit registers are present in 8086.
36. Distinguish the TEST & logical AND instructions.
37. Explain stack pointer & instruction pointer.
38. Distinguish the ADD & INC instructions.
39. Explain IN & OUT instructions.
40. List any two address transfer instructions.
41. Give two conditional jump instructions with an example.
42. Explain NEG, COMP instructions.
43. Define assembler directive. Give any two examples.
44. Explain DAA, AAA instructions.
45. Explain MUL, DIV instructions.
46. Explain rotate instructions.
47. Explain Shift instructions.
48. Explain why I/O interface required for 8086.
49. List the features of the 8255(PPI).
50. Identify how many port lines are present in 8255.
51. Explain how many modes 8255 can be operated.
52. Explain BSR mode of operation.
53. Discuss how many I/O modes of operations present in 8255.
54. Discuss the applications of stepper motor.
55. Demonstrate the need for ADC.
56. List the methods available for ADC.
57. Explain key bouncing.
58. Describe how to eliminate key bouncing.
59. Formulate the control word format for BSR mode.
60. Formulate the control word format for I/O mode.
Choose in which mode of I/O operation Bi-directional data transfer takes place explain.
61.

Solve the control port address of 8255 if the base address is FFF0H.
62.
63. Explain the function of handshaking signals.
64. Distinguish between static and dynamic RAM with examples.
65.
Explain the purpose of and A0 pins on the 8086 microprocessor.

66. Define Memory mapped I/O.


67. Define I/O mapped I/O.
68. Explain the purpose of CE or CS pin on a memory chip.
Explain, why the interrupt and trap flags cleared as part of the
69.
interrupt response.
70. Explain the interrupt response.
71. Define interrupt vector table.
72. Define interrupt service routine.
73. Compare Maskable and Non-Maskable interrupts.
74. List the interrupts of 8086.
75. Explain the priorities of 8086 interrupts.
76. Estimate how many interrupts can be handled by PIC.
77. List the uses of int-03 interrupt.
21 Demonstrate the need for DMA.
22 List the data transfer schemes available in DMA.
Explain the functioning of
23
a) MARK b) HLDA
25 Recall the function of DMA address register.
Explain why serial data transfer is preferred over parallel data transfer.
1
2 Define synchronous data transfer.
Describe the frame format of serial asynchronous communication.
3
4 Define modem.
5 Define communication links.
6 Define USART.
7 Discuss the use of 8251 chip.
8 List the features of 8251(USART).
9 List the serial communication standards available.
10 Elaborate the most commonly used signals in RS232.
11 Describe and sketch the frame format of mode word of 8251.
Distinguish between synchronous and asynchronous serial data transmission techniques.
12
13 Define Baud rate.
Imagine the methods available for error correction during serial data transmission.
14
15 Examine the specifications of RS232C.
16 Explain framing error and over run error in 8251.
22 Describe the status register of 8251.
23 Make use of modem control unit in 8251.
24 Explain a) TXRDY b) DSR signals.
25 Explain a) RTS b) SYNDET/BD signals.
1 Compare microprocessor and microcontroller.
2 Demonstrate which ports of 8051 are bit addressable.
3 Explain why Port 0 needs pull-up resistors in 8051.
4 List of 128 bytes of RAM in the 8051, how many bytes are bit addressable? List them.
5 Explain how to save the status of P2.7 in RAM location 31.
6 List the types of addressing modes in 8051 microcontroller.
7 Discus about I/O port operation in 8051.
8 Explain how external interrupts are serviced in 8051
9 Demonstrate the flag pattern available in 8051.
Estimate the value of register A after each of the following instructions.
MOV A,#26H RR A
RR A RR A
10 SWAP A
11 List the on-chip resources available in the 8051 microcontroller.
12 Write the number of register banks in 8051 and say how the CPU
knows which bank is currently in use.
Explain the controls signals to be used, if 8051 microcontroller demands interfacing of external
13
memory.
14 Elaborate the function of the bits PSW.3 & PSW.4 in 8051.
Distinguish polling and interrupt mechanism. Find the value of the PSW register after the execution of the
instructions.
15
MOV A, #95
ADD A, #120
16 Explain the use of SFR in 8051.
17 List all the SFRs involved in 8051.
18 Explain addressing modes supported by 8051.
Show one instruction each using the following addressing modes of 8051.
19 a). Immediate b). Register c). Register indirect d). Direct

20 List the instructions sets available in 8051.


Explain the following instructions in 8051 micro controller.
a. SETB 86H
21
b. CLR 87H
c. SETB 92H
22 Explain how 8051 differentiates internal and external memory.
23 Analyze the given 8051 instructions: MOVC and MOVX.
24 Explain the instructions LJMP and SJMP in 8051.
Examine the addressing mode used in the following instructions: MOV R1, #02H and MOV R1, 20H
25
Estimate the result of the following code & where it is stored.
MOV R4, #25H MOV A, #1FH ADD A,
2
R4
6

Estimate the content of register A after the execution of the following code.
CLR A
2 ORA A, #99H CPL A
7
2 Show the contents of AC, CY flags if we add 25H and 70H in 8051.
8
UNIT-VII 8051 REALTIME CONTROL
1 Explain the format of TMOD & TCON in 8051.
2 Describe the Timer counter logic diagram in 8051.
3 Define serial communication in 8051.
4 List the advantages of serial data transfer in 8051.
5 List the SFRs needed for serial communication in 8051.
6 Explain the use of PCON register in 8051.
7 Describe how serial port is used for data transfer in 8051.
8 List functions of SCON register of 8051.
9 Discuss the different serial data transmission modes in 8051.
1 List the interrupts of 8051.
0
Explain what should be loaded in TCON register to start Timer0 & Timer1 in 8051.
1
1
1 Explain how many interrupts are there in 8051. And name them.
2
1 Identify the highest priority interrupt of 8051.
3
1 Explain which port in 8051 microcontroller is bit addressable.
4
1 Describe the SCON register in 8051.
5
1 Model the format of IE register in 8051.
6
Explain under what conditions are the TI and RI bits raised in 8051.
1
7
1 Estimate baud rate in mode-1 operation in 8051.
8

2. Group - II (Long Answer Questions)

Question Blooms Course


S. No
Taxonomy Level Outcome
UNIT-I
8086 ARCHITECTURE
1 Explain the architecture of 8086 with neat diagram. Understand 1
2 Compare 8085 & 8086 microprocessors. Analyze 1
3 Identify the size of 8086 instruction queue and explain how does Apply 1
queue speed up the processing.
4 Explain general purpose & special purpose registers of 8086. Understand 1
5 Explain the flag register of 8086. Understand 1
6 Demonstrate memory segmentation & mention its advantages. Understand 1
7 Describe the 8086 microprocessor pin-diagram. Understand 1
Demonstrate about the functions of the following pins. Understand
8 1
a)TEST b) RQ/GT0 & RQ/GT1 c) QS0 & QS1 d) S0,S1,S2
9 Explain minimum mode configuration of 8086 microprocessor. Understand 1
10 Explain minimum mode control signals of 8086. Understand 1
11 Explain maximum mode configuration of 8086 microprocessor. Understand 1
12 Explain maximum mode control signals of 8086. Understand 1
Explain the read & write timing diagrams for maximum mode Understand
13 1
configuration.
Explain the read & write timing diagrams for minimum mode Understand 1
14
configuration.
Describe the function of the following signals. Understand
15 1
a) NMI b) c) d) RESET
16 Describe the interrupts of 8086. Understand 1
UNIT-II
INSTRUCTION SET AND ASSEMBLY LANGUAGE PROGRAMMING
1 Demonstrate the instructions formats of 8086. Understand 2
2 Explain the various addressing modes of 8086 with examples. Understand 2
3 Explain Arithmetic instruction set of 8086 with examples. Understand 2
4 Explain data transfer instructions of 8086 with examples. Understand 2
5 Distinguish macros & procedures. Understand 2
6 Discuss short notes on JUMP instructions with examples. Create 2
QUESTION Blooms Course
S. No
Taxonomy Level Outcome
Explain the following instructions: Understand
7 2
i. WAIT ii. HLT iii. ESC iv. NOP
8 Discuss the uses of Shift & rotate instructions. Create 2
9 Distinguish jump & loop instructions. Analyze 2
10 Discuss short notes on string instructions. Create 2
11 Make use of logical instructions available in 8086. Apply 2
UNIT-III
I/O INTERFACE
1 Describe the architecture of 8255 & explain. Understand 3
2 Explain the I/O modes of operation. Understand 3
3 Explain the interfacing diagram of 8255 with 8086. Understand 3
4 Explain BSR mode of operation. Mention its applications. Understand 3
Show BSR control word of 8255 to set pc2 & pc7 & reset them Remember
5 3
after a time delay. Base address of 8255 is F800H.
6 Explain pin diagram of 8255 PPI. Understand 3
7 Develop an ALP to interface stepper motor with 8086. Create 5
8 Explain the control word format of 8255 in I/O & BSR mode. Understand 3
Develop program for 8-bit ADC to sample analog input & store the Create
9 digital value in memory. 5
10 Develop an ALP to generate square wave. Create 5
Describe the block diagram of successive approximation method Understand
11 and explain. 3
12 Explain the interfacing diagram of ADC with 8255. Understand 3
13 Explain how a stepper motor is interfaced to 8086. Understand 3
14 Explain how a display device interfaced with 8086. Understand 3
15 show how a 4×4 key board matrix is connected to 8255. Remember 3
UNIT-IV
INTERFACING WITH ADVANCED DEVICES
1 Explain how the physical memory of 8086 is organized. Understand 4
2 Explain the interrupt vector table of 8086. Understand 4
3 Elaborate short notes on interrupt service routine in 8086. Create 4
Construct an Interface of two 4k×8 EPROMS & and two 4k×8 RAM Create
4 chips with 8086. Select suitable memory map. 4
5 Explain about the programmed I/O & interrupt driven I/O. Understand 4
6 Explain the interrupt sequence in 8086 system. Understand 4
7 Compose short notes on 5 types of interrupts supported by 8086. Create 4
8 Discuss the architecture of 8259 with neat block diagram. Create 4
9 Explain the working of 8257 DMA controller. Evaluate 4
10 Discuss short notes on DOS interrupts. Create 4
11 Analyze BIOS interrupts. Analyze 4
12 show how to interface 8259 with 8086. Remember 4
13 Describe the status register of 8257. Understand 4
Explain the following terms with reference to 8259: Understand
14 4
(a) END of interrupt (b) Automatic rotation (c) poll command
UNIT-V
COMMUNICATION INTERFACE
1 Describe the 8251 with neat block diagram. Understand 6
2 Tell how 8251 is used for serial communication of data. Remember 6
QUESTION Blooms Course
S. No Outcome
Taxonomy Level
3 Explain the advantages of using the USART chips in Understand 6
microprocessor based systems.
4 Show the types of serial communication. Understand 6
Explain the interfacing of 8251 with 8086 with necessary circuit Understand
5 6
diagram.
Demonstrate the data transmission standards and their Understand
6 6
specifications.
Compose MODEM control lines and explain the functioning of Create
7 each line. 6
Explain the pin structure of RS232C & also discuss about voltage & Understand
8 6
current specifications of RS 232C.
Describe the logic diagram to convert TTL to RS232C conversion Understand
09 and RS232C to TTL conversion. 6
10 Discuss short notes on IEEE-488 GPIB. Create 6
UNIT-VI
INTRODUCTION TO MICROCONTROLLER
Demonstrate the register set of 8051 and also discuss how Understand
1 1
memory and I/O addressing is done in 8051.
Demonstrate internal architecture of 8051 microcontroller in Understand
2 1
detail.
Express the five addressing modes of 8051 microcontroller with Understand
3 example. 2
Construct and illustrate how to access external memory devices in Create
4 1
an 8051 based system.
Demonstrate the internal memory organization of the 8051 Understand
5 1
microcontroller.
Design an 8051 based system with 16 K bytes of program ROM Create
6 1
and 16 K bytes of data ROM.
Illustrate the memory organization and special function registers Understand
7 1
in 8051 microcontroller.
8 Review the JMP & CALL instructions available in 8051. Understand 2
9 Describe the operation of I/O ports in 8051 with neat sketch. Understand 1
10 Utilize the functioning of A & B registers of 8051. Apply 1
11 Give the format of PSW register of 8051 and explain each bit. Understand 1
UNIT-VII
8051 REALTIME CONTROL
1 Show in detail the various modes of operation of timers in 8051. Understand 7
2 Express about external hardware interrupt in 8051. Understand 7
3 Illustrate about the serial communication in 8051 microcontroller. Understand 7
4 Label the format of IE & IP formats & explain. Remember 7
Explain the function and operating modes with the associated Understand
5 7
registers of Timer/Counter in 8051 microcontroller.
Formulate the sequence of events that takes place when the Create
6 7
interrupt occurs in 8051.
Examine the various SFRs you need while handling the Analyze
7 7
timers/counters. Give the register formats.
Blooms Course
S. No QUESTION
Taxonomy Level Outcome
8 Explain the various modes of serial port in 8051. Understand 7
9 Show the format & bit definitions of SCON register in 8051. Understand 7
10 Describe the TCON and TMOD registers of 8051. Understand 7
UNIT-VIII
THE AVR RISC MICROCONTROLLER ARCHITECTURE
Distinguish between Tiny, Mega & X mega series of AVR Understand
1 8
microcontroller.
Define the concept of register file. How it is implemented in AVR Remember
2 8
microcontrollers.
List the various data byte operations can be performed by ALU of Remember
3 8
AVR microcontrollers.
4 Describe the data memory organization of AVR microcontroller. Understand 8
5 List the SFRs used by timers of AVR microcontroller. Remember 8
6 List the alternate functions of I/O ports in AVR microcontroller. Remember 8
Describe the modes of operations of timer 0/counter 0 of AVR Understand
7 8
microcontroller.
Explain the functional differences between timer 0 & timer 2 of Understand
8 8
AVR microcontroller.
Describe how input capture facility is implemented in AVR Understand
9 8
microcontroller.
10 List the features of USART available in AVR microcontroller. Remember 8
11 Describe the baud generator of AVR microcontroller. Understand 8
Indicate how many control & status registers are used by USART Understand
12 & AVR microcontrollers. Give the format of each and explain. 8
Explain the details of interrupt handling and response of AVR Evaluate
13 8
microcontroller on occurrence of interrupt.
14 Describe the interrupt vectoring available in AVR Understand 8
microcontrollers.
Explain the functions of SFRs used by EEPROM of AVR Understand
15 8
microcontroller.

3. Group - III (Analytical Questions)

Blooms Course
S.No QUESTIONS
Taxonomy Level Outcome
UNIT-I
8086 ARCHITECTURE
Solve the effective address & physical address of the following
instructions.
(a) IMUL AX, [BP + BX – 8D] (b) SBB AL, ES:[ SI + 5D] (c) PUSH AX
1 (d) AND AH, [SI + 42D] (e) CMPSB (f) CMPB DX, [SI] 1
Assume CS = 5000H, DS = 8000H, SS = A000H, ES = B000H, SI = Apply
2000H, DI = 6000H, BP = 1002H, SP = 0002H, AX = 0000H, BX =
5200H, CX = 2000H.
Examine the physical address is represented by Analyze
2 1
i) 4370:561EH ii) 7A32:0028H
Blooms Course
S.No QUESTIONS
Taxonomy Level Outcome
Evaluate the physical address of the top of the stack? If the stack
3 segment register contains 3000h and the stack pointer register Evaluation 1
contains 8434H.
Inspect the memory address of the next instruction executed by
the microprocessor, when operated in the real mode, for the
4 following CS:IP combinations: Analyze 1
a) CS = 1000H and IP = 2000H
b) CS= 2000h and IP=10000h
UNIT-II
INSTRUCTION SET AND ASSEMBLY LANGUAGE PROGRAMMING
Develop a program to read ASCII code after a strobe signal is sent Create
1 5
from a Keyboard.
Develop a program to add a profit factor to each element in a Create
2 5
cost array and puts the result in a prices array.
Develop an ALP for add a 5-byte number in one array to a 5 byte Apply
in another array. Put the sum in another array. Put the state of
3 the carry flag in byte 6 of the array that contains the sum. The 5
first value in each array is the least significant byte of that
number.
Develop a delay loop which produces a delay of 500µsec on an Apply
4 5
8086 with 5-MHz clock.
Develop an assembly language program to find factorial of a Create
5 5
given number.
6 Develop an assembly language program to find sum of squares. Apply 5
Develop an assembly language program to find number of Apply
7 5
positive & negative numbers from a given array.
8 Develop an assembly language program to convert ASCII to BCD. Apply 5
9 Develop an ALP to find cube of an 8-bit hexadecimal number. Create 5
10 Develop an ALP to display ‘IARE MPMC LAB’ on the screen. Apply 5
Develop an ALP to convert a given sixteen bit binary number to its Create
11 5
gray equivalent.
UNIT-III
I/O INTERFACE
Model a Control Words When the Port Of Intel 8255A defined as Apply
1 follows: Port A as an O/P port, mode of the port a is mode-0, port 3
B as an O/P port, mode of the Port B is mode-0.
Construct an Interfacing DAC AD7523 with an 8086 CPU running Create
2 at 8MHZ and write an assembly language program to generate a 3&5
saw tooth waveform of period 1ms with Vmax 5V.
Develop an ALP for stepper motor interfacing by using loop Create
3 5
instructions.
UNIT-IV
INTERFACING WITH ADVANCED DEVICES
Construct an interface two chips of 32k × 8 PROM & four chips of Create
32k × 8 RAM with 8086, according to the following map.
1 ROM 1 & 2 F0000H-FFFFFH, RAM 1 & 2 D0000H-DFFFFH RAM 3 & 4
4 E0000H-EFFFFH. Show the implementation of this memory
system.
Blooms Course
S.No QUESTIONS
Taxonomy Level Outcome
Develop a Program for 8086 to service a real time clock in Create
interrupt. 8259 is connected to 8086 and free running clock of
1Hz is given as interrupt request to IR2. 8259 to be programmed
for following specifications:
2 4&5
a) IR2 is edge triggered interrupt
b) non-specific EOI, fully nested mode
c) Interrupt type 60H for IR0
d) Mask all other interrupt requests.
Plan how 8257’s are cascaded to provide more number of DRQ’s
3 4
and explain the operation. Application
4 Demonstrate about interrupt priority schemes used in 8259. Understand 4
Develop an instruction sequence that will cause the priority of an Create
8259, whose even address is 0800H, to be IR5,IR6, IR7, IR0, IR1,
5 IR2, IR3, IR4. Solve this problem when the current interrupt 4
priority is IR1 and for the second time assuming the current
priority to be IR7.
UNIT-V
COMMUNICATION INTERFACE
Illustrate the status register of 8251 for the given statement.
Read status register and wait for DSR and TxRDY to become Analyze
1 6
active. One active, get character from PC keyboard using INT B8H
(keyboard routine).
2 Develop an ALP for to transfer the data serially by using 8086. Create 6
Identify the errors in receiving the data from asynchronous mode Understand
3
of operation using 8251.
Imagine the sequence of instructions required to initialize 8251 at Create
address A0H and A1H for the configuration below.
i) Character length – 8 bits
ii) No parity
4 6
iii) Stop bits – 2
iv) Baud rate – 16 X
v) Error flag is reset
vi) DTR and RTS asserted
Develop an 8086 instruction sequence for receiving 50 characters Create
5 5&6
using 8251 and store them in memory at location 2080H.
UNIT-VI
INTRODUCTION TO MICROCONTROLLER
Develop 8051 program to convert packed BCD number available Create
1 in accumulator, into two ASCII numbers and save them in internal 5
RAM locations 48H and 49H.
Develop 8051 program to move a block of data from external Create
2 5
program memory to external data memory.
Choose PUSH instruction to put the number 82H in RAM locations Apply
3 5
34H to 37H. Also write same program without PUSH instruction.
Develop and elaborate a program in 8051 to count number of Create
4 zero bits available in a byte available in external RAM at 1000h. 5
Store zero bit count in internal RAM location 60H.
Develop 8051 program to OR the contents of port 1 and port 2, Create
5 5
put the result in external RAM location 0102h.
Blooms Course
S.No QUESTIONS
Taxonomy Level Outcome
UNIT-VII
8051 REALTIME CONTROL
Indicate when the TF0 flag is raised for the following program.
MOV TMOD, #01H
MOV TL0, #12H
1 7
MOV TH0, #1CH
Understand
SETB TR0
Assume XTAL = 11.0592MHz.
Examine the TH1, TL1 value to generate a time delay of 5ms.
2 Timer 1 is programmable in mode 1 using 8051. Assume that Analyze 7
XTAL = 16MHz.
Develop a Program for Timer 1 to generate a square wave of 1 Create
3 5
kHz in 8051. Assume that XTAL = 11.0592MHz.
Develop a Program for Program Timer-0 go generate a square Create
4 5
wave of 3 kHz in 8051. Assume that XTAL = 11.0592MHz.
Indicate which mode and which timers are selected for each of Understand
the following.
5 7
a) MOV TMOD, #01H b) MOV TMOD, #20H c) MOV
TMOD, #12H
Explain which bits in which registers must be set to 1 to have Understand
6 7
timer 0 count input pulses on pin T0 in timer mode 0.
UNIT-VIII
AVR Microcontroller
Elaborate various sources of interrupts in AT90S2313 Create
1 8
microcontroller.
Describe the various flags of status registers of AT90S2313 Understand
2 8
microcontroller.

You might also like