Exercise VM Solutions
The following are our solutions for Exercise VM.
Part A
- 0
- 0
- 0
- 1023
- 0x40
- 0
- 0
- 0
- 1
- 2
- 0x89A
- 0x300
- 3
Part B
- 0x97865000
- 0x033FF000
- 0x02080100
- 0x0000C7FF
Part C
- 0x7000
- 0x7001
- 0x7FFF
- 0x8000
- FAULT
- 0xA003
- FAULT
- 0x8F00
Part D
- 0x00000000
- NONE
- 0x00C80FFF
- 0x00001888
- NONE
- 0x00001001
- 0x00C80002
Part E
- 2 (at 0x9000 and 0x2000)
- 5×212 == 0x5000
Part F
One example:
-
0x100000FF
-
*(uint32_t *)0x00400004 = 0x10000007;
-
0x000010FF