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

Programmer Humor

32047 readers
1604 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
[–] [email protected] 35 points 4 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

[–] [email protected] 11 points 4 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 3 months ago

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

[–] [email protected] 4 points 4 months ago* (last edited 4 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.

[–] [email protected] 3 points 4 months ago (1 children)
[–] [email protected] 3 points 4 months ago (1 children)

What? This is system programming, not web development.

[–] [email protected] 1 points 4 months ago (1 children)

I was making a joke about their spelling error.

[–] [email protected] 4 points 4 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.

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

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

Operating on low sleep and responding before coffee.

I shall flog myself now

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

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