"If a worker wants to do his job well, he must first sharpen his tools." - Confucius, "The Analects of Confucius. Lu Linggong"
Front page > Programming > CPU SIMULATOR

CPU SIMULATOR

Published on 2024-08-01
Browse:810

Recenltly I started learning computer architecture, so with some stuff I undertood from that I started making a CPU simulator. It reads instructions from a text file in an Assembly-like structure and executes it from the main file.

It doesn't have a lot of features, but i think it does certain things from the CPU.

The repo:

CPU SIMULATOR Santie-a / CPU-simulator

CPU Simulator

This program tries to simulate the behavior of the CPU.

Currently starting on computer architecture, so the main purpose was to read instructions, store some data and implement an ALU.


View on GitHub


If you have any recomendation to improve the code, let me know!
Thank you!

Release Statement This article is reproduced at: https://dev.to/santie/cpu-simulator-1apd?1 If there is any infringement, please contact [email protected] to delete it
Latest tutorial More>

Disclaimer: All resources provided are partly from the Internet. If there is any infringement of your copyright or other rights and interests, please explain the detailed reasons and provide proof of copyright or rights and interests and then send it to the email: [email protected] We will handle it for you as soon as possible.

Copyright© 2022 湘ICP备2022001581号-3