• umbraroze@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    6 months ago

    NOP is $EA, of course, and… um…

    …sorry, I’m just a Commodore 64 scrub, I don’t know nothing about this high and mighty Intel 8086 nonsense.

    [looking up]

    …it’s 0x90 on IA-32? WHAT? Someone told me every processor used 0xEA because that was commonly agreed and readily apparent. …guess I was wrong

    • palordrolap@kbin.social
      link
      fedilink
      arrow-up
      0
      ·
      6 months ago

      Someone told me every processor used 0xEA

      Not sure if this is a riff on the joke or not.

      Back in the day I dabbled in 6510 code, and up until today hadn’t even bothered to look at a chart of opcodes for any of its contemporaries. Today I learned that Z80 uses $00 for NOP.

      Loth as I am to admit it, that actually makes sense. Maybe more sense than 65xx which acts more like a divide-by-zero has happened.

      The rest of the opcode table was full of alien looking mnemonics though, and no undocumented single byte opcodes? Freaky, man.

      But the point is that not even Z80 used $EA. If the someone was real they probably meant every 65xx processor.

    • Flying Squid@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      6 months ago

      My daughter told me the other day, “I bet I could figure out a Commodore 64 if I had one.”

      Good luck figuring out LOAD “*”,8,1 by yourself, kid.

      • umbraroze@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        6 months ago

        Literally every game manual comes with instructions to do LOAD "*",8,1. (oh, did I say “manual”? Instruction card. Yeaaaah, the minimal instuction stuff isn’t new, kids.) Everyone and their dog figured it out. If there was any command anyone knew, it was that. …only to be topped by SHIFT+RUN/STOP for initiating tape load (which you could just do by typing in, you know, LOAD).

        Know what else we did when we were kids? WE ASKED AROUND. If you don’t tell your kid how this thing works, you’re making things worse, to be frank. I mean, if some random kid came up to me and asked how to load a C64 game, I’d give them a goddamn lecture free of charge.

        • Flying Squid@lemmy.world
          link
          fedilink
          arrow-up
          0
          ·
          6 months ago

          She meant she could figure it out just playing around with it, not reading a manual or asking around. I told her she’d have to read a manual.

          • cmfhsu@lemmy.world
            link
            fedilink
            arrow-up
            0
            ·
            6 months ago

            Erm I might be showing my inexperience here.

            Is there no equivalent to man LOAD in the commodore world? Or even just help?