19
NeW zEaLaNd 🙄 (programming.dev)

you are viewing a single comment's thread
view the rest of the comments
[-] A_norny_mousse@feddit.org 3 points 3 days ago
[-] bobo1900@startrek.website 10 points 3 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

[-] zstg@programming.dev 2 points 3 days ago

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

[-] XTL@sopuli.xyz 1 points 3 days ago

http://www.z80.info/z80sflag.htm

There's no NZ flag. There's the regular Z flag like in most processors. NZ is the condition of zero not being set.

https://en.wikipedia.org/wiki/Zero_flag

It's probably a typo in the question or an actual question by human after seeing something like a JNZ instruction.

https://tutorials.eeems.ca/Z80ASM/app1c.htm

this post was submitted on 26 Nov 2025
19 points (88.0% liked)

Aneurysm Posting

3130 readers
2 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