Question: Is for micro processer lab course Task#3 Without using the LDR statement, load in Ro the value 0x87654321 using logical operation. Task#4 Edit an ARM

Is for micro processer lab course Is for micro processer lab course Task#3 Without using the LDR statement,

Task#3 Without using the LDR statement, load in Ro the value 0x87654321 using logical operation. Task#4 Edit an ARM assembly code based on the following requirements. Use the LDR statement when the immediate data cannot be in ImmBR format. 1. Load 0x87654321 in RO. Register Byte Byte 3 In Hex In Binary 0001 0010 RO Byte2 Bytel 6 5 4 3 0011 0100 0101 0110 Byte 2 1 8 7 0111 1000 2. Considering the right-most hex digit as the 1s hex digit, then: Complement the 2nd hex digits Clear the 5 and 7th hex digits Note:- Before writing the code, manually calculate the result. 3. Discussion: To clear the 5th and 7 hex digits, can you use the AND statement with an immediate data? Justify. 4. Calculate the cost of this code. Task#5 Re-write the ARM assembly code of Task#4 without using the LDR instruction to set the mask value. Then, calculate the cost of this code. Task#6 1. Write the RTL statement of the AND and the BIC instructions 2. Re-write the ARM assembly code of Task#5 using the BIC instruction instead of AND instruction for the clear operation. 3. Calculate the cost of this code

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!