mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-26 16:48:05 +11:00
0f2d14ad8a
This allows us to remove a lot of labels usage in boot code. This commit has no effect on forth.bin.
17 lines
439 B
Plaintext
17 lines
439 B
Plaintext
Variable actions are expected to be called with labels in
|
|
front of them. Example, "L2 FSET"
|
|
|
|
About that "1 -": z80 relative jumps record "e-2", that is,
|
|
the offset that *counts the 2 bytes of the jump itself*.
|
|
Because we set the label *after* the jump OP1 itself, that's 1
|
|
byte that is taken care of. We still need to adjust by another
|
|
byte before writing the offset.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(cont.)
|