Question: 5. Write assembly functions that implement the following C functions: a. uint32-t add32(uint32-t x, uint32-y) // returns (x+y)%(232); any carry out is lost b. uint64

5. Write assembly functions that implement the following C functions: a. uint32-t add32(uint32-t x, uint32-y) // returns (x+y)%(232); any carry out is lost b. uint64 t add32_64(uint32 t x, uint32_y)//returns x+y; sum contains any carry c. uint64-t add64(uint64-tx, uint64-t y) // returns (xty)%(2^64) d. uint32-t shiftLeftU32 (uint32-tx, uint32_p) // returns x
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
