Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pat8901/computer-hardware-emulator
Emulation of an 8-bit CPU
https://github.com/pat8901/computer-hardware-emulator
Last synced: 12 days ago
JSON representation
Emulation of an 8-bit CPU
- Host: GitHub
- URL: https://github.com/pat8901/computer-hardware-emulator
- Owner: pat8901
- License: mit
- Created: 2024-02-29T03:50:19.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-03-06T04:29:59.000Z (10 months ago)
- Last Synced: 2024-03-07T04:34:53.738Z (10 months ago)
- Language: C
- Homepage:
- Size: 112 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.txt
- License: LICENSE
Awesome Lists containing this project
README
CPU Emulation Project
=====================Description:
------------
This program aims to emulate the components of a CPU using the C programming language.
So far, I have implemented the clock and a generic register. The clock provides the timing mechanism for the CPU,
and the generic register serves as a placeholder for storing data or addresses. In its current form the program will generate
random 8-bit values and insert into the inputs of the generic register. On the next clock cycle the outputs of the register are
set equal to the inputs.As the program runs the status is printed to the console.
Next Steps:
-----------
In the upcoming phases of the project, I plan to implement the instruction register and the instruction pointer register.
The instruction register will hold the current instruction being executed, while the instruction
pointer register will point to the next instruction to be executed.How to Run:
-----------
In order to run the program be sure to compile both clock.c and register.c. Onced compiled run the register executable,
this is the entry point into the program.Author:
-------
Patrick Seitz