2024-12-09 02:41:13 +00:00
|
|
|
# Py502
|
2024-12-09 03:08:26 +00:00
|
|
|
a Python CPU emulator with a custom instruction set, and an ASM compiler
|
2024-12-09 03:11:01 +00:00
|
|
|
## What Doin'?
|
|
|
|
|
|
|
|
I am currently working on a C compiler for this custom CPU architecture.
|
|
|
|
I am also going to add characters to my ASM compiler so you can do stuff like
|
|
|
|
```asm
|
|
|
|
message:
|
|
|
|
.asciiz db "Hello, World!", 0x00 ; null terminated
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
## Example error messages for the ASM Compiler
|
2024-12-09 03:08:26 +00:00
|
|
|
![image](https://github.com/user-attachments/assets/f50d5d51-dfb8-46a8-b3e3-c762d033c2f1)
|
|
|
|
![image](https://github.com/user-attachments/assets/fd7f2477-a4c6-46c3-afb9-9d47c5daa159)
|