-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
34 lines (25 loc) · 701 Bytes
/
Copy pathREADME
File metadata and controls
34 lines (25 loc) · 701 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# MicroCore
A simple CPU simulator built with HTML, CSS, and JavaScript.
MicroCore is an educational project that shows some of the basic ideas behind how a CPU executes instructions. The goal was to build a small CPU model that is easy to understand and interact with in a web browser.
## Demo

## What MicroCore Can Do
MicroCore simulates several basic CPU components and instructions:
- Registers
- Program Counter
- Memory
- Arithmetic Logic Unit (ALU)
- Instruction execution
- Fetch, Decode, Execute cycle
- Program editing
- Instruction logging
- Basic control flow
Supported instructions include:
```text
LOAD
LOADB
ADD
SUB
JUMP
JUMPZERO
HALT