Mirror of CollapseOS
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

15 wiersze
586B

  1. For backward labels, set happens before write. For forward
  2. labels, write happen before set. The write operation writes a
  3. dummy placeholder, and then the set operation writes the offset
  4. at that placeholder's address.
  5. Variable actions are expected to be called with labels in
  6. front of them. Example, "L2 FSET"
  7. About that "1 -": z80 relative jumps record "e-2", that is,
  8. the offset that *counts the 2 bytes of the jump itself*.
  9. Because we set the label *after* the jump OP1 itself, that's 1
  10. byte that is taken care of. We still need to adjust by another
  11. byte before writing the offset.