BCS402 – Microcontrollers Solved Model Question Paper with Solutions
Module 1
1.a] Mention the difference between:
1. Microcontroller and Microprocessor
1.b] Explain the architecture of an ARM embedded device with the help of a neat diagram.
OR
2.a] Explain in detail about Current Program Status Register (CPSR).
2.b] With a neat diagram, explain Embedded System Hardware.
Module 2
3.a] Explain different arithmetic instructions in ARM processor with an example.
3.b] Explain single register load/store addressing mode syntax, table, index mode with an example.
OR
4.a] Explain barrel shifter instructions in ARM with suitable examples.
4.b] Explain different logical instructions in ARM processor with an example.
Module 3
5.a] Explain code optimization, profiling and cycle counting.
5.b] Write a C program that prints the square of the integers between 0 to 9 using functions, and explain how to convert this C function to an assembly function with command.
OR
6.a] Discuss how registers are allocated to optimize the program.
6.b] Develop an ALP (Assembly Language Program) to find the sum of the first 10 integer numbers.
Module 4
7.a] With a neat diagram, explain ARM processor exceptions and modes.
7.b] Explain assigning interrupts and interrupt latency.
OR
8.a] Briefly explain what happens when an IRQ and FIQ exception is raised with an ARM processor.
8.b] Explain firmware execution flow and Red Hat RedBoot.
Module 5
9.a] Explain the basic architecture of cache memory.
9.b] Explain how main memory maps to a cache memory.
OR
10.a] With a neat block diagram, explain associative cache.
10.b] Briefly explain cache line replacement policies.