Students who complete their bachelors degree (BE/ BTech) in computer science or electrical engineering do extensive course work in Microprocessors and then in C programming. However, what is missing in the current curriculum is to explicitly establish the link between the two. Specifically we look at how a C program is translated to assembly language and how it eventually gets executed on a microprocessor. Through, animations we show what happens in the stack, data and code segment, of the microprocessor when a C program is executed. Learning objectives of the course are: • Explain how function calls are translated to assembly • Explain how parameters are passed to a function • Explain what it means to say that local variables are stored on stack • Explain what it means to say local variables go out of scope after the function call • List out the instructions that need to be executed before entering a function and before exiting it • Explain the various calling conventions for C functions
21294
779
280
43
67
79
91
326
AVERAGE ASSIGNMENT SCORE >=10/25 AND EXAM SCORE >= 30/75 AND FINAL SCORE >=40
BASED ON THE FINAL SCORE, Certificate criteria will be as below:
>=90 - Elite + Gold
75-89 -Elite + Silver
>=60 - Elite
40-59 - Successfully Completed