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

NeW zEaLaNd 🙄

message-square
message-square
8
fedilink
23
message-square

NeW zEaLaNd 🙄

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

alert-triangle
You must log in or # to comment.
  • A_norny_mousse@feddit.org
    link
    fedilink
    arrow-up
    17
    ·
    2 months ago

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

    • tiramichu@sh.itjust.works
      link
      fedilink
      arrow-up
      11
      ·
      2 months 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
        ·
        2 months ago

        whats nz then?

        • Bobo The Great@startrek.website
          link
          fedilink
          arrow-up
          10
          ·
          2 months 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
            ·
            2 months ago

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

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

    • Malgas@beehaw.org
      link
      fedilink
      English
      arrow-up
      3
      ·
      2 months 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.

  • sin_free_for_00_days@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    4
    ·
    2 months ago

    Just more LLM lazy bullshit.

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.

  • 64 users / day
  • 199 users / week
  • 625 users / month
  • 2.58K users / 6 months
  • 6 local subscribers
  • 3.31K subscribers
  • 402 Posts
  • 3.04K Comments
  • Modlog
  • mods:
  • PinkyCoyote@sopuli.xyz
  • SnokenKeekaGuard@lemmy.dbzer0.com
  • BE: 0.19.7
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org