Mirror of CollapseOS
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

17 řádky
536B

  1. The following words allow you to assemble z80 binaries. Being
  2. Forth words, opcode assembly is a bit different than with a
  3. typical assembler. For example, what would traditionally be
  4. "ld a, b" would become "A B LDrr,".
  5. BIN( is the addr at which the compiled binary will live. It is
  6. often 0.
  7. ORG is H@ offset at which we begin spitting binary. Used to
  8. compute PC. To have a proper PC, call "H@ ORG !" at the
  9. beginning of your assembly process. PC is H@ - ORG + BIN(.
  10. (cont.)