about summary refs log tree commit diff
path: root/README
diff options
context:
space:
mode:
authorNakidai <nakidai@disroot.org>2025-07-24 08:30:00 +0300
committerNakidai <nakidai@disroot.org>2025-07-24 08:30:00 +0300
commitf09b4adbc7776cfce4c3762968edc82460956f92 (patch)
tree9a46545219a636ad89d5025c2776a8e08a112c83 /README
downloadpps-f09b4adbc7776cfce4c3762968edc82460956f92.tar.gz
pps-f09b4adbc7776cfce4c3762968edc82460956f92.zip
Add code v1.0.0
Diffstat (limited to 'README')
-rw-r--r--README22
1 files changed, 22 insertions, 0 deletions
diff --git a/README b/README
new file mode 100644
index 0000000..5651f66
--- /dev/null
+++ b/README
@@ -0,0 +1,22 @@
+Prototype Processor aSsembler
+
+computer architecture[1] is by qubane[2];
+assembler is by nakidai[3] and released in public domain
+
+pros:
+- factored out emit() function so it can be replaced with something more
+  suitable for your specific use case
+- case insensitive where not needed
+- `inc' mnemonic that includes some other file
+cons:
+- doesn't handle comments very good, but still (start line with `; ' to make
+  one)
+- code is garbage a little
+other:
+- lda instruction uses atoi for number converting, hence number base there is 10
+- register check is case insensitive by 1 letter, so e.g. ACC can be named as a,
+  AcC, acC, AR etc
+
+[1] https://docs.google.com/spreadsheets/d/1ESjhZcvpGmuHCNxgOESfSy-MXQoqrMqCyCDJyvDhRMM/edit?usp=sharing
+[2] https://github.com/qubane
+[3] https://nakidai.ru