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.

9 linhas
219B

  1. ; Compare HL with DE and sets Z and C in the same way as a regular cp X where
  2. ; HL is A and DE is X.
  3. cpHLDE:
  4. push hl
  5. or a ;reset carry flag
  6. sbc hl, de ;There is no 'sub hl, de', so we must use sbc
  7. pop hl
  8. ret