Question: The assembly code has to be written using ARM7 processor. The second picture is the code in C to test the assembly code. Write an
Write an assembly language function named computeMagicNumber which will accept a string (name of an individual) as input and compute a magic number from this argument using the following formula. N-1 Magic Number (i 1) [i])] %1001, In the above formula, ascii(namelij) will return the ascii equivalent of a letter. There is no need for implementing this function in assembly since characters in a string are already represented in ascii is the remainder operation. name is the string argument passed to the function. The main function and skeleton code for assembly functions to be implemented are given in attachment. Please return the assembly file only after changing the file name to YourredlD Homework 7.s
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
