Question: I don't know how to solve theses problems. Please tell me steps in detail. Nrite 15 line assembly functions that implement the following C functions:
I don't know how to solve theses problems.
Please tell me steps in detail.

Nrite 15 line assembly functions that implement the following C functions: a. uint32_t subU32(uint32_t x, uint32_t y ) // returns xy b. int32_t subS32(int32_t x, int32_t y ) // returns xy c. uint64_t addU32_U64(uint32_t x, uint32_t y ) // returns x+y d. uint64_t addU64(uint64_t x, uint64_t y ) // returns x+y e. int32_t shiftRightS32 (int32_t x, uint8_t p ) // returns x>>p=x2(p ) for p=0..31 f. uint32_t shiftRightU32 (uint32_t x, uint8_t p ) // returns x>>=x2(p) for p=0..31 g. int32_t shiftLeftS32 (int32_t x, uint8_t p ) // returns x
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
