Question: Problem 3.17 What are the differences between the following pair of instructions? LDRH RO, [R1] LDR RO, [R1] andSTR RO, [R11 and LDRSH RO, [R1]

 Problem 3.17 What are the differences between the following pair of

Problem 3.17 What are the differences between the following pair of instructions? LDRH RO, [R1] LDR RO, [R1] andSTR RO, [R11 and LDRSH RO, [R1] NOTE: Select all that apply to receive full credit. Select one or more a. LDR loads R1 with the half-word located at the address Ro is pointing to. STR stores the half-word in R1 to the location Ro is pointing to b. LDRH loads R0 with the half-word located at the address R1 is pointing to, and loads 0's into the upper 16-bits. LDRSH also does this but it loads 1's into the upper 16-bits c. LDR loads R1 with the word located at the address RO is pointing to. STR stores the word in R1 to the location RO is pointing to. d LDRH loads RO with the hat word located at the address R1 is pointing to, and loads o's into the upper 16-bits LDRSH also does this but t oads the MSB from, the har word into the upper 16-bits e LDR loads RO with the half-word located at the address R1 is pointing to. STR stores the half-word in RO to the location R1 is pointing to f. LDR loads R0 with the word located at the address R1 is pointing to STR stores the word in R0 to the location R1 is pointing to. g LDRH and LDRSH are the same Check

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!