This is for a story. I want to have someone try to have a retro, 80’s era CPU be overtaxed/overheated or something by an elegant and/or short math problem being fed into it.
But, I don’t know that much about programming so I don’t know 1) what a formula would look like, or 2) what 80’s CPUs would do when fed a short/simple formula that they can’t finish. Is it possible to give the CPU a valid problem without a syntax error, that it can’t compute not because it doesn’t have enough memory, but just because it would take too long? Is it possible to give the CPU an instruction it would overheat attempting?
If it must run out of memory, is it possible to write the program in a way so that when it runs out of memory it will automatically attempt the same program again, over and over again?
Extra points for elegance, being not too long but not too short like “divide by zero”>syntax error, and describing what the CPU would do in detail… I’d like the CPU to be just a chip on a wall and with maybe a dislay, not just a C64 hooked up to a TV, so barebones would be awesome.
Mods please move this to the apropriate forum if it shouldn’t be here.