Question: Write ASSEMBLY CODE USING (( VisUAL )) program 1. Declare N1 using the EQU directive and initialize to any value you want 2. Declare N2
1. Declare N1 using the EQU directive and initialize to any value you want 2. Declare N2 using the DCD directive and initialize to o 3. If the LSB of N1 is considered as N1[O], then edit the ARM assembly code to perform the following logical operation N2 (16:31] = N1 (0:15] ^ N1 (16:31] N2 (0:15) = N1 (0:15] @ N1 (16:31) While coding, consider the following Write in upper case. Beside each line of code, put a comment describing the operation (not the result) Missing comment (-0.51 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 Hexadecimal. 3. List "cost" of your program in terms of; registers, instructions & clock cycles 4. Discussion: Is your code giving the correct answer? Briefly show your calculations draft
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
