1
0
mirror of https://github.com/KarolS/millfork.git synced 2025-07-16 06:24:08 +00:00

Splitting and tweaking documentation

This commit is contained in:
Karol Stasiak
2018-07-02 00:45:53 +02:00
parent 9512e8e7ae
commit ed067d3a67
6 changed files with 171 additions and 156 deletions

View File

@@ -0,0 +1,12 @@
[< back to index](../index.md)
### A note about LUnix
LUnix uses relocatable code, which means that object addresses (`.addr`) are not constants.
To help with this problem, new constants are defined, with a `.rawaddr` suffix.
They are not relocated, so to use them, you need to manually relocate them
by adding `relocation_offset` to their high bytes:
pointer p
p = variable.rawaddr
p.hi += relocation_offset