Question: Task#7 Edit an ARM assembly code based on the following requirements: 1. Load RO with Ox8765:4321 2. Swap the lower 16-bits with the upper 16-bits

 Task#7 Edit an ARM assembly code based on the following requirements:

Task#7 Edit an ARM assembly code based on the following requirements: 1. Load RO with Ox8765:4321 2. Swap the lower 16-bits with the upper 16-bits RO 8x43218765 3. Add the statements to AND the lower 16-bit with the upper 16-bits and save the result in the lower 16-bits of R1, i.e. R1 [0:15] = RO[0:15] R0[16:31] Register Bank R1 RO 0x4321-8765 Barrel Shifter LSR 116 0x4321-8765 020000.4321 ALU AND Task#8 Write the ARM assembly code to place each byte of register RO to R1, R2, R3 and R4. Test your code with 0x87:65:43:21 (use LDR to load this large value into the register) After execution, the contents of each register should be as shown 7654321 R1 Note: Consider minimizing the required clock cycles Task#7 Edit an ARM assembly code based on the following requirements: 1. Load RO with Ox8765:4321 2. Swap the lower 16-bits with the upper 16-bits RO 8x43218765 3. Add the statements to AND the lower 16-bit with the upper 16-bits and save the result in the lower 16-bits of R1, i.e. R1 [0:15] = RO[0:15] R0[16:31] Register Bank R1 RO 0x4321-8765 Barrel Shifter LSR 116 0x4321-8765 020000.4321 ALU AND Task#8 Write the ARM assembly code to place each byte of register RO to R1, R2, R3 and R4. Test your code with 0x87:65:43:21 (use LDR to load this large value into the register) After execution, the contents of each register should be as shown 7654321 R1 Note: Consider minimizing the required clock cycles

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!