Professional Documents
Culture Documents
a) Write a program with proper comments to evaluate (A + 8B + 7C - 27)/4, where A = 25, B = 19,
and C = 99. And trace the program with valid justifications.
OR
21 b) Write a program using shift operations to compute (P + Q * R - 36)/4, where P = 16, Q = 20, and
R = 15. Trace the program and justify all shift operations used in the program with proper
comments.
a) With a neat diagram describe physical features that have driven the ARM processor design and
main hardware components of a microcontroller.
22 OR
b) Discuss how abstract layers of software executes on a physical component or a device. Explain
how hardware extensions ARM wraps around the core.
a) Illustrates the function of cpsr to monitor and control internal operations in ARM core.
23 OR
b) Write a note on Software Interrupt Instruction and Program Status Register Instructions