Microsoft Excel isn't exactly up there when it comes to anyone's top-ten list of exciting software. Regarded as the dependable if more-than-slightly dull workhorse of productivity apps, the mere mention of Excel brings to mind endless spreadsheets, budgetary calculations, and… oh no you've fallen asleep already. But when someone creates a functional 16-bit CPU inside it, well, that might just be worth waking up for.
YouTuber Inkbox has posted a 16-minute video (via Tom's Hardware) detailing exactly how they built a fully-functional 3Hz 16-bit CPU in the much-maligned office app, complete with an included 128KB of RAM, a 16-colour output display and its own custom assembly language. Not only was the CPU created (and runs) inside Excel, it was built without any Visual Basic scripts or plugins, which means it could be duplicated on any Excel instance.
Inkbox points out that at its heart a spreadsheet is just a fancy calculator, taking a data input in, and producing an outputted result. By stacking linked cells to create increasingly more complex outputs they were able to effectively mimic the input/output functions of a CPU, albeit in this case a relatively basic one.
This required the creation of a customised assembly language named Excel-ASM15, with enough functionality to load, transfer and perform arithmetic operations that allows instructions to be executed like traditional programs. The video provides an in-depth and yet straightforward enough to understand breakdown of the process, and it serves as a great insight into the inner structure and calculations performed by a CPU, and how they were effectively replicated.
This isn't the first time we've seen CPUs built inside other programs, as who could forget the amazingly named Chungus 2, a fully functional 3D model of a PC constructed within Minecraft, complete with its own 1Hz CPU created with some very imaginative uses of redstone. Still, as anyone with many hours in the game can attest, building things in
Read more on pcgamer.com