Question: From Book: Embedded Systems: Introduction to the MSP432 Microcontroller (Volume 1). by Jonathan W. Valvano NOTE: Put the code in a single line. Separate instructions

From Book: Embedded Systems: Introduction to the MSP432 Microcontroller (Volume 1). by Jonathan W. Valvano

From Book: Embedded Systems: Introduction to the MSP432 Microcontroller (Volume 1). by

NOTE: Put the code in a single line. Separate instructions with a few spaces.

Jonathan W. Valvano NOTE: Put the code in a single line. Separate

NOTE: Select all that apply

Select one or more:

a. LDR loads R1 with the word located at the address R0 is pointing to. STR stores the word in R1 to the location R0 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 the MSB from the half-word into the upper 16-bits.

c. 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.

d. 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.

e. LDR loads R0 with the half-word located at the address R1 is pointing to. STR stores the half-word in R0 to the location R1 is pointing to.

f. LDRH and LDRSH are the same.

g. LDR loads R1 with the half-word located at the address R0 is pointing to. STR stores the half-word in R1 to the location R0 is pointing to.

3.10 Write assembly code that pushes registers R1 R3 and R5 onto the stack

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!