Mirror of CollapseOS
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
439B

  1. Variable actions are expected to be called with labels in
  2. front of them. Example, "L2 FSET"
  3. About that "1 -": z80 relative jumps record "e-2", that is,
  4. the offset that *counts the 2 bytes of the jump itself*.
  5. Because we set the label *after* the jump OP1 itself, that's 1
  6. byte that is taken care of. We still need to adjust by another
  7. byte before writing the offset.
  8. (cont.)