Question: Given the following code: ADRP X 1 , msg 1 ADD X 1 , X 1 , :lo 1 2 :msg 1 msg 1 :

Given the following code:
ADRP X1, msg1
ADD X1, X1, :lo12:msg1
msg1: asciz "Hello"
What value is left in X1 after the ADRP instruction?
020000
What value is left in x1 at the end of running the code? 020CD0
Assume that the address of ADRP is 0x30CB8 and the address of msg1 is O\times 20CDO
As usual write your answer in hex with a leading 0x and all leading 0's removed.
 Given the following code: ADRP X1, msg1 ADD X1, X1, :lo12:msg1

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!