Question: For each of the following c functions (given as function prototypes), which register is used to pass each of the parameters? Which register(s) is used
For each of the following c functions (given as function prototypes), which register is used to pass each of the parameters?
Which register(s) is used to pass the return value?
Note: uint64_t is unsigned 64-bit integer.
1. int add2(int a, int b):
2. int add3(int a, int b, int c):
3. unsigned fibonacci(unsigned n):
4. void mystrcmp(char*dst, char*src):
5. uint64_t sumOf Array(uint32_t X[], int N):
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
