aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorGravatar Moon Flower <moon@coffin.ir> 2025-08-11 11:34:18 +0330
committerGravatar Moon Flower <moon@coffin.ir> 2025-08-11 11:34:18 +0330
commit2fc20ad0b11e60ecfacc653024f2b582acad6e86 (patch)
treed7e3f793f32928e40a18c56d00875a5b8e74dc62 /README.md
parentvscode theme extension (diff)
ir2 initial release!
Diffstat (limited to 'README.md')
-rw-r--r--README.md46
1 files changed, 29 insertions, 17 deletions
diff --git a/README.md b/README.md
index dcc0fbf..e2bfa42 100644
--- a/README.md
+++ b/README.md
@@ -1,23 +1,35 @@
-# moonvm
-i have no idea what to name this. gimme names if you got any.
+# pu2!
+smaller, better, faster, compact-er! let's gooooo
-## parts? how's it work?
-i don't remember. i have ptsd from writing it.
+## how does this workkk
+to be humble, pretty clever stuff. (i forgor)
-## what is it
-i asked it and it said it's a vm+assembler. the unit tests are written by ai cus i was really not feeling like writing unit tests of all things. the skeleton code is all mine tho :P
+## WHAT IS PU2
+- CPU Emulator
+- Assembler
+- Test Suite
-## wowie
-ikr,,,
+## instruction set
+pu2 has less instructions than pu (aka pu1),
-## instruction set?
-check the comments in pu.c
+# ~~moonvm~~
+~~i have no idea what to name this. gimme names if you got any.~~
-i still haven't added docs for the assembler, but ehh it's pretty self explanatory. ask ai to explain it to you if you can't be assed to read.
+## ~~parts? how's it work?~~
+~~i don't remember. i have ptsd from writing it.~~
-## t?
-that file is the instruction encoding table for the assembler. you can add shit to it if you wanna. this is the original:
-```c
-char *R="hlt\0 ar1\2 ar2\3 ar3\4 ar4\5 ar5\6 ar6\7 ar7\x8 ar8\x9 r1a\xA r2a\xB r3a\xC r4a\xD r5a\xE r6a\xF r7a\20 r8a\21 mem\22 aca\23 add\24 sub\25 not\26 clr\27";
-```
-removing it means you can't assemble stuff anymore. though the pu.c wrapper does write it for you if it doesn't exist. \ No newline at end of file
+## ~~what is it~~
+~~i asked it and it said it's a vm+assembler. the unit tests are written by ai cus i was really not feeling like writing unit tests of all things. the skeleton code is all mine tho :P~~
+
+## ~~wowie~~
+~~ikr,,,~~
+
+## ~~instruction set?~~
+~~check the comments in pu.c~~
+
+~~i still haven't added docs for the assembler, but ehh it's pretty self explanatory. ask ai to explain it to you if you can't be assed to read.~~
+
+## ~~t?~~
+~~that file is the instruction encoding table for the assembler. you can add shit to it if you wanna. this is the original:~~
+~~```char *R="hlt\0 ar1\2 ar2\3 ar3\4 ar4\5 ar5\6 ar6\7 ar7\x8 ar8\x9 r1a\xA r2a\xB r3a\xC r4a\xD r5a\xE r6a\xF r7a\20 r8a\21 mem\22 aca\23 add\24 sub\25 not\26 clr\27";```~~
+~~removing it means you can't assemble stuff anymore. though the pu.c wrapper does write it for you if it doesn't exist.~~ \ No newline at end of file