aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md9
1 files changed, 8 insertions, 1 deletions
diff --git a/README.md b/README.md
index 5a8b117..dcc0fbf 100644
--- a/README.md
+++ b/README.md
@@ -13,4 +13,11 @@ 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. \ No newline at end of file
+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. \ No newline at end of file