• Bobo The Great@startrek.website
    link
    fedilink
    arrow-up
    10
    ·
    4 days ago

    Never programmed on the z80, but a common flag in cpus is Zero or Not Zero (nz), that would be set when the result of an operation is not zero (or zero, depends on the architecture)

    For example A = 0 (A being a generic register) would set Z to 1 and NZ to 0, and viceversa for A = 1