Question: Memory locations 1 0 0 0 , 1 0 0 4 and 1 0 0 8 contain the data 1 0 , 2 0 and

Memory locations 1000,1004 and 1008 contain the data 10,20 and 30 respectively. If register r1 is initialized with the value 1000, the contents of register r2 after execution of the following code segment will be
LDR ,5,[r1]
LDR r6,[x1,#4]
LDR ,x7,[x1,#8]
ADD ,x2,x5,x6
SUB ,x2,x2,x7
 Memory locations 1000,1004 and 1008 contain the data 10,20 and 30

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!