2021-01-29 22:16:51 +01:00
#### This Repo contains very uggly code, that may be disturbing to some readers. Reader discretion is advised.
2020-11-23 19:12:28 +01:00
# asmTron
2020-11-23 19:21:16 +01:00
asmTron is a compiler / emulator for a 12-bit cpu (4-bit opcodes, 8-bit adresses), that I started building in Minecraft.
I never finished the Minecraft-Build, but this emulator is fully functional and even has integrated debugging capabilities.
2020-11-23 20:19:42 +01:00
This programm is optimized for a very specific terminal-size and a global variable has to be changed to switch between Windows / Linux compatability.
2020-11-23 19:21:16 +01:00
### asm.py
The emulator / debugger...
### compiler.py / compiler_beta.py
This compiler compiles from 'tronScript' to a binary save-state of the emulator. It has been designed with the main priority of being as easy as possible to compile. Usability was ~~maybe~~ impacted by this decisio.
2021-01-29 22:29:59 +01:00
compiler_beta does not work, but contains code to add stack / push / pop functionality to tronScript.
2020-11-23 20:22:58 +01:00
More information about tronScript can be found in TronScript_README.txt
2020-11-23 19:21:16 +01:00
### mima.py
2020-11-23 20:19:42 +01:00
A variation of asm.py to emulate a MiMa (minimal machine). No, the compiler can not compile for this architecture.
2020-11-23 19:21:16 +01:00
### asmCust.py
Does not work (I think...)
2020-11-23 20:19:42 +01:00