diff options
Diffstat (limited to 'README')
| -rw-r--r-- | README | 22 |
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 |