Suppose r0 = 0x8000, and the memory layout is as follows: Address Data 0x8007 0x79 0x8006 0xCD
Fantastic news! We've Found the answer you've been seeking!
Question:
Suppose r0 = 0x8000, and the memory layout is as follows:
Address Data
0x8007 0x79
0x8006 0xCD
0x8005 0xA3
0x8004 0xFD
0x8003 0x0D
0x8002 0xEB
0x8001 0x2C
0x8000 0x1A
a) What is the value of r1 after running LDR r1, [r0] if the system is little endian or big endian?
b) Suppose the system is set as little endian. What are the values of r1 and r0 if the instructions
are executed separately?
· LDR r1, [r0, #4]
·LDR r1, [r0], #4
· LDR r1, [r0, #4]!
Related Book For
Fixed Income Securities Valuation Risk and Risk Management
ISBN: 978-0470109106
1st edition
Authors: Pietro Veronesi
Posted Date: