Page 1 of 1

Study Chapter 2, specifically Section 2.8 and Figure 2.28, of your text on how to make a function call in ARM assembly.

Posted: Sun Jul 10, 2022 11:28 am
by answerhappygod
Study Chapter 2, specifically Section 2.8 and Figure 2.28, ofyour text on how to make a function call in ARM assembly. UseP2/userinput as a baseline so that your P3 can: 1) read a series ofintegers from the console, 2) call a new function (addIntegers,resided in a separate assembly file) from main (caller) by passingthose integers through a stack, and 3) obtain those integers fromthe stack by the callee who calculates and returns the sum of thoseintegers back to the caller to print the sum.
Submit _two_ .s files: p3_jdoe_main.s and p3_jdoe_add.s.