Mirror of CollapseOS
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

9 líneas
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