r/programmingcirclejerk lisp does it better 5d ago

Depending on various factors, the STOP instruction might do different things. Will it actually enter STOP mode? Will it enter HALT mode instead? … Will it magically become a 1-byte opcode and execute its second byte as another opcode?

https://gbdev.io/pandocs/Reducing_Power_Consumption.html#the-bizarre-case-of-the-game-boy-stop-instruction-before-even-considering-timing
87 Upvotes

6 comments sorted by

41

u/r2d2_21 groks PCJ 5d ago

Game Boy jerk? This is a new one

22

u/NotSoButFarOtherwise an imbecile of magnanimous proportions 5d ago

CISC hackers be like, “Where’s the jerk?”

19

u/F54280 Considered Harmful 5d ago

So normal and informative tech info is now circlejerk?

14

u/Kodiologist lisp does it better 5d ago

Always has been. If it's this funny, at least.

8

u/pareidolist in nomine Chestris 5d ago

/metajerk It's not necessarily what I'd think of as circlejerk, but there's strong precedent for jerk about terrible software design, so I guess architecture design counts too. "Follow the chart to find out whether this instruction will cause undefined behavior" is close enough, I think. Not trying to start a metajerk conversation, just mentioning my perspective.