https://github.com/jmcph4/cpu2
The spiritual successor of my previous CPU simulator
https://github.com/jmcph4/cpu2
architectural-simulation architecture cpu machine-code microcontroller microprocessor simulation
Last synced: 10 months ago
JSON representation
The spiritual successor of my previous CPU simulator
- Host: GitHub
- URL: https://github.com/jmcph4/cpu2
- Owner: jmcph4
- License: mit
- Created: 2017-04-11T06:01:17.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-08-12T23:53:28.000Z (over 7 years ago)
- Last Synced: 2025-02-16T00:44:22.255Z (12 months ago)
- Topics: architectural-simulation, architecture, cpu, machine-code, microcontroller, microprocessor, simulation
- Language: C
- Size: 15.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cpu2 #
---
The spritual successor of my original CPU simulator (called cpu).
## Installation ##
Requires JCRL (only the stack module though).
git clone https://github.com/jmcph4/jcrl.git
cd jcrl
make
cd ..
git clone https://github.com/jmcph4/cpu2.git
cp jcrl/build/libjcrl.a cpu2/lib/libjcrl.a
cp jcrl/src/* cpu2/include/
cd cpu2
make
## Usage ##
Accepts a file containing machine code, outputs CPUI's status to the screen for each instruction.
cpu2 machine_code.bin
See wiki or docs (soon) for ISA details.