Question: - Write a program that calculates the following expression: Register = val2 + 9 + val3 - vall Assume that vall, val2, and val3 are
- Write a program that calculates the following expression: Register = val2 + 9 + val3 - vall Assume that vall, val2, and val3 are 32-bit integer memory variables. . Besides, Vall, val2 and val3 are integers. Assign val2=11, val3=16, vall=6. Register could be any of the Arm general purpose registers Use the debugger to verify the result in the memories and the Register Report the Register value in hex (as shown in the debugger) name your program a arithmetic2.s Assemble, Link, run, and debug the program Report what you see or observe (include screenshots and snippets)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
