sh.itjust.works
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
ZeStig@programming.dev to Aneurysm Posting@sopuli.xyzEnglish · 3 months ago

NeW zEaLaNd 🙄

message-square
message-square
7
link
fedilink
20
message-square

NeW zEaLaNd 🙄

ZeStig@programming.dev to Aneurysm Posting@sopuli.xyzEnglish · 3 months ago
message-square
7
link
fedilink

  • tiramichu
    link
    fedilink
    arrow-up
    11
    ·
    3 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
      ·
      3 months ago

      whats nz then?

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

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

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

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: [email protected]

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.

  • 29 users / day
  • 384 users / week
  • 650 users / month
  • 2.77K users / 6 months
  • 203 local subscribers
  • 3.78K subscribers
  • 416 Posts
  • 3.59K Comments
  • Modlog
  • mods:
  • PinkyCoyote@sopuli.xyz
  • SnokenKeekaGuard@lemmy.dbzer0.com
  • BE: 0.19.15
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org