Commit 5a89920
committed
[FREELDR] Change real mode base address (reactos#7530)
Now that's our FRLDR16 base address is zero
all the **INTERNAL** variables and functions have to
use offsets instead of absolute addresses.
Here's the example:
```
// CS = HEX(7C0)
// MyLabel = HEX(100)
lea eax, dword ptr cs:[MyLabel] // EAX = ((CS << 4) + offset MyLabel) = 7D00
```1 parent c1b8c4f commit 5a89920
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
0 commit comments