Lemmy.one
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
ZeStig@programming.dev to Aneurysm Posting@sopuli.xyzEnglish · 4 days ago

NeW zEaLaNd 🙄

message-square
message-square
8
fedilink
22
message-square

NeW zEaLaNd 🙄

ZeStig@programming.dev to Aneurysm Posting@sopuli.xyzEnglish · 4 days ago
message-square
8
fedilink

  • A_norny_mousse@feddit.org
    link
    fedilink
    arrow-up
    17
    ·
    4 days ago

    That’s one way “nz flag in z80” makes sense to me. What else could it mean?

    • Malgas@beehaw.org
      link
      fedilink
      English
      arrow-up
      3
      ·
      3 days ago

      I don’t know the z80 specifically, but it’s probably an assembly keyword for a special bit (“flag”) that indicates if the result of the previous operation was nonzero.

    • tiramichu@sh.itjust.works
      link
      fedilink
      arrow-up
      11
      ·
      4 days ago

      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
        link
        fedilink
        arrow-up
        4
        ·
        4 days ago

        whats nz then?

        • 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

          • ZeStig@programming.devOP
            link
            fedilink
            English
            arrow-up
            2
            ·
            3 days ago

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

        • Telex@sopuli.xyz
          link
          fedilink
          arrow-up
          1
          ·
          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

Aneurysm Posting@sopuli.xyz

aneurysmposting@sopuli.xyz

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !aneurysmposting@sopuli.xyz

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.
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 7 users / day
  • 510 users / week
  • 1.14K users / month
  • 2.52K users / 6 months
  • 6 local subscribers
  • 3.13K subscribers
  • 384 Posts
  • 2.93K Comments
  • Modlog
  • mods:
  • PinkyCoyote@sopuli.xyz
  • SnokenKeekaGuard@lemmy.dbzer0.com
  • BE: 0.19.7
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org