BCS402-MC-Assignment Questions
BCS402-MC-Assignment Questions
BCS402
ASSIGNMENT QUESTIONS
2-1] Explain the different data processing instructions in ARM [CO2: L2: 10 Marks]
2-2] Explain barrel shifter in ARM with an example [CO2: L2: 6 Marks]
2-3] Explain different logical instructions in ARM processor with example [CO2: L2: 6 Marks]
2-4] Explain branch instructions in ARM with suitable example. Demoinstrate branch instruction
usage flow of execution with an example program [CO2: L2: 8 Marks]
2-5] Explain single register load store addressing mode syntax, table, index mode with an example
[CO2: L2: 8 Marks]
2-6] Explain stack operations [CO2: L2: 8 Marks]
2-7] Write a note on –
1
MICROCONTROLLERS – ASSIGNMENT QUESTIONS
BCS402
Swap instruction [CO2: L2: 6 Marks]
Software interrupt instruction [CO2: L2: 6 Marks]
Program status register instruction [CO2: L2: 6 Marks]
Coprocessor instructions [CO2: L2: 6 Marks]
Loading constants [CO2: L2: 6 Marks]
2-8] Explain the following ARM Instructions with examples:
(1) MVN (2) LSL (3) RSB
(4) ORR (5) BIC (6) CMP
(7) TST (8) CMN (9) BIC
(10) LDR (11) STR (12) LDRSB
(13) STRH (14) LDM (15) STM
(16) LDMIA (17) LDMIB (18) STMIB
(19) LDMDA (20) STMIA (21) STMFD
(22) STMED (23) SWP (24) SWI
(25) MLA (26) MRS & MSR (27) CDP
(28) MRC & MCR (29) LDC & STC (30) LDR & ADR [CO2: L2]
- Any 6 Instructions to explain with examples.
3-1] Explain the different basic data types in C. Provide examples of how each data type can be used in
a C program [CO3: L2: 10 Marks]
3-2] Describe the process of a function call in C [CO3: L2: 8 Marks]
3-3] Develop an assembly level program to find the sum of first two integer numbers
[CO3: L2: 6 Marks]
3-4] How compiler handles a “for loop” with variable number of interations N and loop controlling
with an example [CO3: L2: 8 Marks]
3-5] Discuss the concept of register allocation in compiler optimization. Illustrate its significance with
an example [CO3: L2: 8 Marks]