Question: Q1: Based on your student ID written above, your task is to write a simple C function class_participation and the corresponding Assembly code. The function

Q1: Based on your student ID written above, your task is to write a simple C function "class_participation" and the corresponding Assembly code. The function takes the last two digits (from left to right) and returns the added value (a+b). Please comment on your code. Q2: In this task, write a simple C function "maths" and its corresponding Assembly code to return the value based on the following expression. Please comment on your code. (ab)a Note: remember, the variables a and b are the last two digits of your student number
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
