this post was submitted on 21 May 2024
1613 points (98.8% liked)

Programmer Humor

32361 readers
444 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] umbraroze 34 points 5 months ago (3 children)

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

[–] FlyingSquid 12 points 5 months ago (3 children)

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.

[–] [email protected] 1 points 5 months ago

With the ubiquity of C64 emulators, that's easy enough to demonstrate by experiment

[–] [email protected] 4 points 5 months ago* (last edited 5 months ago) (1 children)

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.

[–] SpaceNoodle 3 points 5 months ago (1 children)
[–] LrdThndr 3 points 5 months ago (1 children)

What? This is system programming, not web development.

[–] SpaceNoodle 1 points 5 months ago (1 children)

I was making a joke about their spelling error.

[–] LrdThndr 4 points 5 months ago (1 children)

And I was making a joke about the D&D spider goddess.

But the word is "loath," which has an accepted alternate spelling of "loth". "Lolth" is the Dungeons and Dragons spider goddess, commonly worshiped by Drow.

[–] SpaceNoodle 1 points 5 months ago

Oh Christ, I can't believe I missed that.

Operating on low sleep and responding before coffee.

I shall flog myself now

[–] idunnololz 1 points 5 months ago* (last edited 5 months ago)

I thought NOP was 0x90. Edit: oh I just read the rest of the comment.