Question: Translate the following pseudo-code to ARM assembly: #define C = 500 int32 N = 6 int32 R = 0 R = C - 25xN Note:
Translate the following pseudo-code to ARM assembly: #define C = 500 int32 N = 6 int32 R = 0 R = C - 25xN Note: declare the constant Cusing the EQU directive, while N and R using the DCD directives While coding, consider the following Write in upper case. Beside each line of code, put a comment describing the operation (not the result) Do your best to make the code most efficient in terms of clock cycles Use only the instructions given in Labs Requirements in the report 1. Put a "text-copy" (not an image-copy) of the complete assembly program. It should be properly aligned. 2. Put an "image copy" of the Memory View after program execution in Decimal. 3. List "cost" of your program in terms of; registers, instructions & clock cycles
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
