Mirror of CollapseOS
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

15 行
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.