Debugging decrement bugs (round 2)
Posted on Mon 12 May 2025 in MUPS16 • Tagged with registers, alu
A few months ago I was trying to track down a bug that mainly seemed to affect decrementing r1 from 255 to 0, where the register value would occasionally jump to a more-or-less random value part-way through the decrement sequence. I never did get to the bottom of it, and …
Continue reading

