blob: 48f85e9b42c50244c347af995297128961b355ab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# 8-Bit CPU Emulator
## Supported Instructions
1. MOV
2. ADD
3. SUB
4. JMP (Jump)
5. JZ (Jump if zero)
5. JZ (Jump if not zero)
6. HLT (Halt)
# Usage
```bash
cargo run -- --f <examples/filename.asc>
```
## Todo
- [ ] Assembler
- [x] Lexer/Tokenizer
- [ ] Add label support (supporting JMP/JZ/JNZ)
- [ ] Error handling
- [ ] Build Debugger
|