Question

If X1 has 1000, X9 has 77, and memory locations 1000, 1008, and 1016 have 100,...

If X1 has 1000, X9 has 77, and memory locations 1000, 1008, and 1016 have 100, 200, 300 respectively, what do X2 have after the following instructions?
LDUR X2, [X1, #16]
ADD X2, X1, X2

Homework Answers

Answer #1

LDUR - Load unscaled Register.It loads the value from the address plus the offset given.here the base register won't be modified

LDUR R1,[R2,Imm] --- loads the  value at the memory address (R2 + imm) [Imm - immediate] to R1 and the base register R2 is not modified

For the given question

LDUR X2,[X1,#6] --- the value present at (1000+16) is loaded into X2

so now X2 = 300 (because the value present at the address 1016 is 300)

ADD X2,X1,X2

X2 = X1+X2

X2 = 1000+300

X2 = 1300

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Suppose there has been an outbreak of virus X. As head of the CDC, you have...
Suppose there has been an outbreak of virus X. As head of the CDC, you have three options. (1) Administer only medicine M1 to the population, (2) Administer only medicine M2 to the population or (3) do nothing.(M1 and M2 are produced from a rare mineral so you can only manufacture either M1 or M2 but not both). Unfortunately, there are two strands of virus X, X1 and X2 only one of which is spread in the population. You don't...
Suppose there has been an outbreak of virus X. As head of the CDC, you have...
Suppose there has been an outbreak of virus X. As head of the CDC, you have three options. (1) Administer only medicine M1 to the population, (2) Administer only medicine M2 to the population or (3) do nothing.(M1 and M2 are produced from a rare mineral so you can only manufacture either M1 or M2 but not both). Unfortunately, there are two strands of virus X, X1 and X2 only one of which is spread in the population. You don't...
Suppose there has been an outbreak of virus X. As head of the CDC, you have...
Suppose there has been an outbreak of virus X. As head of the CDC, you have three options. (1) Administer only medicine M1 to the population, (2) Administer only medicine M2 to the population or (3) do nothing.(M1 and M2 are produced from a rare mineral so you can only manufacture either M1 or M2 but not both). Unfortunately, there are two strands of virus X, X1 and X2 only one of which is spread in the population. You don't...
Suppose you have a portfolio that has $100 in stock A with a beta of 0.9,...
Suppose you have a portfolio that has $100 in stock A with a beta of 0.9, $400 in stock B with a beta of 1.2, and $300 in the risk-free asset. You have another $200 to invest. You wish to achieve a beta for your whole portfolio to be the same as the market beta. What is the beta of the added security? Give an example of a firm that may have such a beta.
In the Keynesian Model assume the following information: C=1000+0.5Yd I=300 G=200 T=100 here Yd=Y-T. Note that...
In the Keynesian Model assume the following information: C=1000+0.5Yd I=300 G=200 T=100 here Yd=Y-T. Note that I, G, T, represents private investment, Government spending and Taxes, respectively. What are: (i) the total injections and (ii) total leakages What is the equilibrium level of income, consumption, and saving and disposable income Assume that the level of output is 1200 how does the economy adjust to equilibrium, specifically mention inventory levels. Suppose private investment will decrease by 150, by how much the...
Ajax corporation has the following set of projects available to it: All projects have equal risk....
Ajax corporation has the following set of projects available to it: All projects have equal risk. Project Investment Required (in Mil) Expected Rate of Return (%) A 500 23 B 75 18 C 50 21 D 125 16 E 300 14 F 150 13 G 250 19 Ajax can raise fuds with the following marginal costs: First 250 Mil 14% Next 250 Mil 15.5% Next 100 Mil 16 % Next 250 Mil 16.5% Next 200 Mil 18% Next 200 Mil...
gave the following information for people under 25 years of age. x1: Rate of hay fever...
gave the following information for people under 25 years of age. x1: Rate of hay fever per 1000 population for people under 25 100 92 122 126 91 123 112 93 125 95 125 117 97 122 127 88 A random sample of n2 = 14 regions in western Kansas gave the following information for people over 50 years old. x2: Rate of hay fever per 1000 population for people over 50 94 109 99 96 111 88 110 79...
Consider a new deposit to the US banking system of $1000. Suppose that all banks have...
Consider a new deposit to the US banking system of $1000. Suppose that all banks have a desired reserve ratio of 20%. The following table shows how deposits, reserves, and loans enable the creation of money. Assume there is no currency drain and that banks do not hold on to excess reserves. A. Complete the table below Round Change in Deposits Change in Reserves Change in Loans 1 $1000 $200 $800 2 3 4 5 B. After 5 rounds, what...
Self-isolation for Coronavirus In the context of the current pandemic situation, the Ottawa Health Agency (OHA)...
Self-isolation for Coronavirus In the context of the current pandemic situation, the Ottawa Health Agency (OHA) was interested to know how Ottawa residents support their recommended self-isolation instructions related to the novel Coronavirus. They commissioned a professional agency to do a survey of 1000 individuals living in the city in March 2020 and obtained the following results: Support of OHA Self-Isolation Instructions Support Oppose Total Returning travellers 69 81 150 Non-travellers who had contact 243 207 450 Non-travellers who didn’t...
In the month of january researchers have been collecting samples from ten locations for practically all...
In the month of january researchers have been collecting samples from ten locations for practically all days of the month (30 days). The average was reported to be 55 degrees and the standard deviation was 11 degrees. Create: a) A 95% confidence interval using a normal distribution around the mean. b) A 90% confidence interval using a normal distribution around the mean. month of Jamuary researchers have been collecting samples from ten locations for practically all days of the month...