Functional 16-bit CPU built and runs in Excel, 3Hz processor includes 128KB of RAM, 16-color display, and a custom assembly language
Inkbox on YouTube asks, "Remember when I said my sanity stood in the way?" before detailing his Excel-ASM16 language
A hobbyist has created a 16-bit CPU that was built and runs inside Excel at a 3Hz clock rate and has 128KB of RAM, a 16-color 128x128 pixel display, and a custom assembly language that all runs in the popular spreadsheet. In fact, you can even try out the CPU with files the creator has made available via Github.
Microsoft Excel may be everyone's favorite spreadsheet application, but Excel's functions are actually quite flexible for a variety of purposes. If you were determined enough, you could use Excel's conditional formatting functionality to create a functioning CPU within Excel. This bit of theoretical knowledge is also common knowledge, but no one really cares to demonstrate it.
That is, no one until January 27th, 2024. Just yesterday, YouTuber Inkbox decided to post a detailed 16-minute video (embedded later below) on how they built a fully functioning CPU within the constraints of Microsoft Excel. Inkbox did this without applying any Visual Basic scripts or plugins, too— this is pure Excel work that could be duplicated on any PC you happen to have that runs Excel.
One of the most impressive feats detailed in this Excel CPU project is Inkbox's creation of a fully functioning assembly language for the functioning Excel CPU. This assembly language, Excel-ASM16, includes 23 different instructions and support for variables, labels, and even binary file support. These are basic functionalities for an assembly language but more than enough for the restrictions of a 16-bit CPU running under Microsoft Excel.
We highly recommend perusing the original source video for a more detailed explanation of Excel's underlying functions and how they were utilized to create a functioning 16-bit CPU. Inkbox doesn't spare any detail explaining how they got the 16-bit Excel CPU to start working and manages to show off a few basic functions of the CPU. These functions are also very time-lapsed, though, since the CPU's functional speed is actually just a few Hertz (no more than 3 Hz)— but this also lets you see the inner workings of the CPU as it does its work.
Overall, the 16-bit Excel CPU project won't be used as some breakthrough in modern computing. However, it does show quite a bit of technical know-how and ingenuity on Inkbox's part, and since he's freely sharing Excel-ASM16 and its CPU with some sample programs on Github, you can even try it out for yourself!
While you may not get much daily driver usage out of a 16-bit CPU built into a Microsoft Excel with a display restriction of 128x128 pixels, 16 colors, and 128KB of RAM...its existence is still pretty cool. If you've ever wanted to "download a CPU," this is probably the best chance you'll ever get.
Stay On the Cutting Edge: Get the Tom's Hardware Newsletter
Get Tom's Hardware's best news and in-depth reviews, straight to your inbox.
And before anyone asks— no, it can't play Doom. However, a sufficiently determined madman (the most important subset of tech-head) can wrangle Excel into managing Doom's video output.
Christopher Harper has been a successful freelance tech writer specializing in PC hardware and gaming since 2015, and ghostwrote for various B2B clients in High School before that. Outside of work, Christopher is best known to friends and rivals as an active competitive player in various eSports (particularly fighting games and arena shooters) and a purveyor of music ranging from Jimi Hendrix to Killer Mike to the Sonic Adventure 2 soundtrack.
-
Leptir I’m well versed in Excel formulas and I’ve written a ton of assembly language code back in the day, so I can understand perfectly what he’s doing… but for the life of me, I can’t understand why. Just because something can be done doesn’t mean there is any point in doing it. Seems to me the whole point of this exercise was to sell ads on YouTube. And then Tom’s Hardware writes about it in order to sell ads too. Is this all people do these days, just devise new ways of selling ads?Reply -
NeonHD
I think they did it mainly for two reasons: for educational purposes and simply because they found it cool/fun. Some people, like me, do appreciate exercising possibilities even if it has no benefit or practical use-case whatsoever. They might also find it intrinsically rewarding to be the first person that proves that this can be done (I know I would). I certainly would've done it if I was knowledgeable in Excel and assembly language and had a ton of free time to kill.Leptir said:I’m well versed in Excel formulas and I’ve written a ton of assembly language code back in the day, so I can understand perfectly what he’s doing… but for the life of me, I can’t understand why. Just because something can be done doesn’t mean there is any point in doing it. Seems to me the whole point of this exercise was to sell ads on YouTube. And then Tom’s Hardware writes about it in order to sell ads too. Is this all people do these days, just devise new ways of selling ads? -
EasyListening Okay, you said you can do it, but you didn't. Me, I can't do it, and I find it cool that someone did.Reply
You come off a bit ahem well nevermind. -
folem And we're running out of things to play Doom on.Reply
NeonHD said:I think they did it mainly for two reasons: for educational purposes and simply because they found it cool/fun. Some people, like me, do appreciate exercising possibilities even if it has no benefit or practical use-case whatsoever. They might also find it intrinsically rewarding to be the first person that proves that this can be done (I know I would). I certainly would've done it if I was knowledgeable in Excel and assembly language and had a ton of free time to kill. -
thisisaname
It is increasingly the purpose of the internet, porn and adverts and yes the reason for porn is adverts. It is adverts all the way down.Leptir said:I’m well versed in Excel formulas and I’ve written a ton of assembly language code back in the day, so I can understand perfectly what he’s doing… but for the life of me, I can’t understand why. Just because something can be done doesn’t mean there is any point in doing it. Seems to me the whole point of this exercise was to sell ads on YouTube. And then Tom’s Hardware writes about it in order to sell ads too. Is this all people do these days, just devise new ways of selling ads? -
bit_user
: Ddosmastr said:So.... Can it run Excel?
Congratulations! You've won the discussion thread!