Question: Write ARM assembly implementations for all of the functions below. The functions must be present in a single s file. Your function/procedure names must be
Write ARM assembly implementations for all of the functions below. The functions must be present in a single s file. Your function/procedure names must be identical to that presented below, as your implementations will be tested with generic C code used by the TAS. All of your functions must return a value such that the program will run to completion with no segmentation faults. If a function cannot be successfully implemented, it still must return a valid value: no function may be omitted. Attempting to omit a function will result in a compile error. Submit your assignment via the submission link on Canvas. The name of this file should be lab#_Jastname_loginiD... Example: If your name is John Doe and your login ID is jxd1234, your submission file name must be "lab#_Doe_jxd1234.5". All questions worth nine points, unless otherwise noted. 1. uint64_t add64 (uint32_tx, uint32_ty) // returns x + y; worth 10 points 2. uint64_t sub64 (uint64_t x, uint64_ty) // returns x - y 3. uint8_t minu8 (uint8_tx, uint8_ty) // returns the minimum of x, y 4. int16_t minS16 (int16_tx, int16_ty) // returns the minimum of x, y 5. bool isLess ThanU8 (uint8_tx, uint8_ty) // returns 1 if x
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
