- Suppose Ro 0x8000 And The Memory Layout Is As Follows Address 0x8007 0x8006 0x8005 0x8004 Data 0x79 0xcd Oxa3 0xfd O 1 (134.76 KiB) Viewed 66 times
Suppose rº = 0x8000, and the memory layout is as follows: Address 0x8007 0x8006 0x8005 0x8004 Data 0x79 0XCD OXA3 0xFD O
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Suppose rº = 0x8000, and the memory layout is as follows: Address 0x8007 0x8006 0x8005 0x8004 Data 0x79 0XCD OXA3 0xFD O
Suppose rº = 0x8000, and the memory layout is as follows: Address 0x8007 0x8006 0x8005 0x8004 Data 0x79 0XCD OXA3 0xFD OXOD 0XEB 0x2C 0x1A a. What is the value of r2 after running LDR r2, [r0] if the system is little endian or big endian? ● 0x8003 0x8002 0x8001 0x8000 b. Suppose the system is set as little endian. What are the values of r2 and r0 if the instructions are executed separately? LDR r2, [r0, #4] LDR r2, [rº], #4 LDR r2, [r0, #4]!