Uploaded February 2020 | Updated September 2026, 1 week ago
This video took far longer than I'd have liked, hopefully it was worth it. I've spoken before about a hardware divide being more complicated than I wanted to do for this cpu so in this video I write a divide function. I do add a couple of instructions to make the process smoother, primarily I add "subae" which is a predicated subtract (it only subtracts if the flags are in the correct state).
I finish up with a demonstration of the Fibonacci sequence, only this time it's outputting the values in nice human readable decimal. I was overjoyed to get this all working, I probably surpassed all the previous time coding for this cpu just for this video.
This video took far longer than I'd have liked, hopefully it was worth it. I've spoken before about a hardware divide being more complicated than I wanted to do for this cpu so in this video I write a divide function. I do add a couple of instructions to make the process smoother, primarily I add "subae" which is a predicated subtract (it only subtracts if the flags are in the correct state).
I finish up with a demonstration of the Fibonacci sequence, only this time it's outputting the values in nice human readable decimal. I was overjoyed to get this all working, I probably surpassed all the previous time coding for this cpu just for this video.










