# moonvm i have no idea what to name this. gimme names if you got any. ## parts? how's it work? i don't remember. i have ptsd from writing it. ## 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: ```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.