• Quazatron
    link
    fedilink
    English
    arrow-up
    14
    ·
    2 months ago

    That’s how it was done in the old days to save a few cycles in Z80 assembly. XOR A instead of LD A, 0.

    • InverseParallax
      cake
      link
      fedilink
      English
      arrow-up
      4
      ·
      2 months ago

      I use that daily in my accelerator work.

      Once you learn the trick, you just use it naturally.