this post was submitted on 26 Nov 2025
18 points (87.5% liked)

Aneurysm Posting

3215 readers
1 users here now

For shitposting by people who can smell burnt toast.

Rules:

  1. Nothing promoting crypto, blockchain or NFTs.
  2. Nothing right wing.
  3. Nothing anti science.
  4. No tankie support.
  5. No TERFS.
  6. No porn.
  7. Must tag AI posts as such.

founded 2 years ago
MODERATORS
 

you are viewing a single comment's thread
view the rest of the comments
[–] A_norny_mousse@feddit.org 17 points 3 weeks ago (6 children)

That's one way "nz flag in z80" makes sense to me. What else could it mean?

[–] tiramichu@sh.itjust.works 10 points 3 weeks ago (4 children)

The Z80 part is right, but talking about a flag in the context of the Z80 instruction set it should be quite clear you mean a programming flag not a country flag

[–] A_norny_mousse@feddit.org 4 points 3 weeks ago (3 children)
[–] bobo1900@startrek.website 10 points 3 weeks ago (1 children)

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

[–] zstg@programming.dev 2 points 3 weeks ago

I believe it isΒ nonzero ("jump if not zero" iirc)

load more comments (1 replies)
load more comments (1 replies)
load more comments (2 replies)