Terminal Calculator

Language: Assembly
Environment: Microprocessor
Role: Solo Developer

Making a Calculator in Assembly

Assembly
MC9S12C Chip

2021

Back when I first started learning about assembly code and how it functions within computer hardware, I thought it was much to complicated to be done without a compiler. Fast forward a couple of years and I found myself creating many different projects using assembly. This project in particular contains a few different applications combined into one: a calculator, a timer, and a typewriter.

This assembly code was built to function within a microprocessor and its defined language. It contains all the basic mathematical operations and communicates to the user through a serial port connection to a terminal. The left image you see above was taken from a simulator provided by the chip manufacturer and is used to test assembly programs before running them on a physical chip.