Question: Determine the value loaded into register r 2 by the following ARM assembly language program: . syntax unified . cpu cortex - m 4 .

Determine the value loaded into register r2 by the following ARM assembly language program:
.syntax unified
. cpu cortex-m4
.thumb
.word 0x20000400
. word 0x800000ed
. space 0x4
.data
d declare your data here
mydata: .word 0xdeadbeef
address_of_mydata: .word mydata
.text
start:
d assembly code goes here
ldr r1,=address_of_mydata
ldrrl,[rl]
ldrr2,[r1]
stop: b stop
.end
Express your answer as a 8 digit hexadecimal number.
 Determine the value loaded into register r2 by the following ARM

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!