Question: Write ARM7 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 ARM7 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.
4.
a. bool isEqualU8 (uint8_t x, uint8_t y) // returns 1 if x = y, 0 if x != y b. bool isEqualS16 (int16_t x, int16_t y) // returns 1 if x= y, 0 if x != y
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
