Question: Write ARM assembly implementations for all of the functions below. The functions must be present in a single .s file. 1. uint64_t add64 (uint32_t x,

Write ARM assembly implementations for all of the functions below. The functions must be present in a single .s file.

1. uint64_t add64 (uint32_t x, uint32_t y) // returns x + y; worth 10 points

2. uint64_t sub64 (uint64_t x, uint64_t y) // returns x - y

All available conditionals are on page 1-19 (39) of the ARM 7 Reference Manual. Keep in mind that signed and unsigned integers may require different conditionals.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!