Question: In this assignment you will write an ARMv 8 assembly program that implements integer addition only using logical / moving operation dont use add. Instructions:

In this assignment you will write an ARMv8 assembly program that implements integer addition only using logical/moving operation dont use add. Instructions: For manipulating the stack pointer, you may use the stp and ldp instructions, as well as the ldr and str instructions with pre- and post-indexing.Use proper callee or caller registers. You should implementyour addition and d shift-and-add functions using only logical/move operations (and, eor, orr, cmp, mov, lsl, asr, lsr, mvn, etc.), memory operations (stp, ldp, str, ldr, stm, ldm, etc., automatic stack pointer updating allowed), and branch instructions (conditional, unconditional, and function calls). Your program mustalso be modular. Strive to make your program efficient (only storingand loading when necessary), and robust.I should be able to compile your program with the provided Makefile simply by typingmakeYou may assume that the intermediate and final results can be represented using 32 bits (overflow does not occur). The input operands will be integers and the output operand (the result) will be integers. Your program should handle positive, negative and zero values.

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!