Member-only story

The Calcutron-33 Decimal-Based Computer

An introduction to microprocessors and assembly programming for beginners

Erik Engheim
10 min readDec 3, 2022
Large vintage calculator
Large vintage calculator

The Calcutron-33 computer is a thought experiment: What if we could build a computer that worked on decimal numbers rather than binary numbers? In our imagination anything is possible and through code we can simulate just about anything. In fact, I have created a simulator for the Calcutron-33 computer, which you can download. The simulator allows you to write programs for this imaginary computer and run them.

The purpose of the Calcutron-33 computer is to serve as a stepping-stone towards learning how to write RISC-V and Arm assembly code. Ultimately, that is what you want as there are actual computers built around the RISC-V and Arm microprocessor architectures, while no Calcutron-33 based computers exist in the real world.

In this story, I will cover the following:

  • The architecture of a microprocessor — What functional units comprise a microprocessor, and how do they interact with each other?
  • Program execution — How does a microprocessor run a computer program loaded into memory?
  • Instruction-set — The operations a microprocessor can perform
  • Assembly code — How to write and run programs

--

--

Erik Engheim
Erik Engheim

Written by Erik Engheim

Geek dad, living in Oslo, Norway with passion for UX, Julia programming, science, teaching, reading and writing.

Responses (1)