News for hackers. Stuff that matters.
Re:What's your favorite weird CPU instruction? any architect... by Doxin on Tuesday November 23, 2021 @09:50AM (#29318415)
Do nonexistent CPUs count? Redcode, used in the CoreWars programming game, has a SPL instruction which boils down to "branch both ways". You end up with two execution pointers taking turns. One keeps going as if the SPL is a nop. The other keeps going as if the SPL is an unconditional jump. Of course you're not limited to calling this just the once.

There are no comments on this comment yet.