Functional 16-bit CPU built and runs in Excel, 3Hz processor includes 128KB of RAM, 16-color display, and a custom assembly language

Screenshot of Inkbox's functioning Excel CPU from the YouTube video on its creation.
Screenshot of Inkbox's functioning Excel CPU from the YouTube video on its creation. (Image credit: Inkbox on YouTube)

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.

Screenshot from Inkbox's Excel CPU video, detailing the name and instructions included within his Excel-ASM16 Assembly Language.

Screenshot from Inkbox's Excel CPU video, detailing the name and instructions included within the new Excel-ASM16 Assembly Language. (Image credit: Inkbox on YouTube)

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.

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.

  • 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
    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?
    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.
    Reply
  • 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.

    You come off a bit ahem well nevermind.
    Reply
  • folem
    And we're running out of things to play Doom on.
    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.
    Reply
  • Integr8d
    What's the meaning of life?

    Depends on the column.
    Reply
  • thisisaname
    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?
    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.
    Reply
  • ezst036
    But can it run Crysis?
    Reply
  • dosmastr
    So.... Can it run Excel?
    Reply
  • bit_user
    dosmastr said:
    So.... Can it run Excel?
    : D
    Congratulations! You've won the discussion thread!
    Reply
  • digitalgriffin
    Is there a turbo button for that 1985 computer?
    Reply