MP QB
MP QB
MP QB
MICROCONTROLLERS (15CS44)
MODULE-1
1.Define a microprocessor. Explain in detail the evolution of microprocessor in
microprocessor age from 4004 MP to core-2 system.
2.What is microprocessor? Explain how data, address and control buses interconnect various
system components.
3.Explain in detail with a neat figure the working of the internal architecture of the 8086MP.
5.What is real mode addressing? Explain default segment and offset registers.
7.Discuss the functions of segment registers of 8086 with examples. Give some advantages
of memory segmentation.
11. What do you mean by segment override prefix? Explain the following assembler
directives:
i) ASSUME
ii) SMALL
iii) PROC
iv) EQU
v) LOCAL
14. Write and explain machine code for instruction MOV DL, [BX].
15. Differentiate between short, near and far jump instructions with two examples of each.
16. Identify the addressing modes of the following instructions and explain them briefly:
i) MOV WORD PTR [SI], 20H
ii) MOV ES: [lOOOH], 10H
iii) MOV CX, NUM [BX + DI]
17. Explain with an exam~ why and how a 20-bit address is generated in 8086.
18.What are assembler directives? Explain following assembler directives with an example
i) PUBLIC ii) ORG iii) DW iv) ASSUME.
20.Explain the following assembler directives with examples i) EXTRN ii) PTR
MODULE 2
6.Give the state of all the status flag bits after the addition of 30A2H with F01CH.
7.What is stack? What is the use of stack memory? Explain the execution of push and pop
8.Explain the execution of PUSH and POP instruction with respect to stack addressing mode
9.Write an ALP using 8086 instructions to generate and add the first l0 even numbers and
save the numbers and result in memory location NUM and SUM
10.Write an ALP using 8086 instructions to search a number placed in location array
ARRAY. Give suitable messages.
11.Write 8086 ALP to add 10 non-negative data items using string instructions. instructions.
12. With format explain rotate instructions. Give examples to rotate right by 1-bit and rotate
Left by 5-bits.
13. Write an ALP using 8086 instructions to count the numbers of zeros in a given 8-bit number.
14. Write an assembly level program reverse a given string and check for palindrome
18. Write an 8086 A L P to find the factorial of a given number through recursive
Procedure.
19. Write a 8086 ALP to convert a given binary number into its equivalent unpacked
decimal and ASCII.
20. Write an 8086 ALP using DOS interrupt to read a two hexadecimal number and
display the same on monitor.
21. What are the sources of interrupts? Briefly explain the steps taken by a processor to execute
an interrupt instruction
23. Explain structure of 8086 interrupt vector table with neat diagram.
MODULE-3
3. Explain memory bank selection in 8086 and mention the number of memory bank in
80x86 MPs.
4. How 8086 microprocessors select 8 bit or 16- b i t data from odd and even memory banks.
6. What is memory address decoding? Design a memory system for 8086 for the
Following specifications:
i) 32 Kbytes EPROM using 16 Kbyte devices.
ii) 64 Kbytes SRAM using 16 Kbyte devices. Draw the memory map.
7. Interface 512 KB RAM to 8088 MP using 64 KB RAM using 3:8 decoder with
Starting address of memory as 80000H. Clearly mention decoding logic and memory map.
8. Design an 8086- b a s e d system to interface with i) 64K byte EPROM; ii) 64K byte
RAM. Assume RAM is connected at 30000h and EPROM at FOOOOH
9. Interface 8KX8 ROM and 4KX 8 RAM to 8086 microprocessors. Assume the starting
address for ROM is 40000H and starting address for RAM is 44000H.
11. Differentiate between memory mapped I/O and I/O mapped I/O (isolated I/O).
13. Explain any two methods of address decoding techniques with schematic diagram.
14. With neat diagram, explain simple NAND gate address decoding logic.
15. Explain how a 3-8-line decoder could be used to interface eight 8K memory chips.
16. Explain 74138 decoder configurations to enable ports at address E8H to EFH.
17. Explain how 74LS138 decodes 2732 EPROMS for 32K x 8 section of memory.
Assume the starting address is 40000H. Give the detailed memory map.
18. With a neat block diagram explain 82C55 PPI. Write the control words for
i)PORT A as input,PORT B as output,PORT C as output,
ii)PORT A as output,PORT B as input,PORT C as input in simple I/O mode.
20. Explain command word format of 82C55 in mode-0. Write the control word format to
initialize to set PC3 and reset PC7.
23. Explain with a neat diagram the interfacing of stepper motor to 8086 using 8255 in
detail.
24. Write an 8086 ALP to read a byte of data from port A and port B. Add the data and save
the result in a memory location.
25. Write an ALP using 8086 instructions to read a byte of data from Port A and display
Its parity status as 00H or FFH for odd and even parity, on Port B.
MODULE -4
3. Which are the different features of ARM instruction set that make it suitable
for embedded applications.
11. With a neat diagram explain the different general purpose registers of ARM
processors.
16. What are interrupts or exceptions? How are they handled in ARM
processors?
2. What is a barrel shifter? Which are the different barrel shifter operations?
i) MLA
ii) MUL
iii) SMLAL
iv) SMULL
v) UMLAL
vi) UMULL
7. List and explain different software interrupt instructions and program status
register instructions along with their syntax.