CPU Simulator is a project implemented in TypeScript, designed to simulate the functionality of a CPU. This project aims to help understand the inner workings of a CPU by providing a simulated environment where various CPU operations can be tested and analyzed.
- Simulate basic CPU operations such as arithmetic, logic, and control instructions.
- Register and memory management.
- Fetch-decode-execute cycle simulation.
- Support for custom instruction sets.
- Visualization of CPU state and operation flow.
You may try out the live version via the following URL.
- Node.js (version 14 or higher)
- npm (Node package manager)
-
Clone the repository:
git clone https://github.com/thil4n/cpu-simulator.git
-
Navigate to the project directory:
cd cpu-simulator -
Install the dependencies:
npm install
To start the CPU simulator, run:
npm run devContributions are welcome! Please read the CONTRIBUTING.md for details on the code of conduct and the process for submitting pull requests.
This project is licensed under the MIT License - see the LICENSE file for details.
- List any resources or inspirations for your project.
For any inquiries, please contact thil4n.