Mirror of CollapseOS
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

17 linhas
605B

  1. This assembler works very much like Z80 assembler (B200) so
  2. refer to this documentation first. Here, we document specifici-
  3. ties.
  4. All mnemonics in AVR have a single signature. Therefore, we
  5. don't need any "argtype" suffixes.
  6. Registers are referred to with consts R0-R31. There is
  7. X, Y, Z, X+, Y+, Z+, X-, Y-, Z- for appropriate ops (LD, ST).
  8. XL, XH, YL, YH, ZL, ZH are simple aliases to R26-R31.
  9. Branching works differently. Instead of expecting a byte to be
  10. written after the naked op, branching words expect a displace-
  11. ment argument.
  12. (cont.)