Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Practical Neo4j

Authors: Gregory Jordan

1st Edition

1484200225, 9781484200223

More Books

Students also viewed these Databases questions