Go to file
2020-11-23 19:21:16 +01:00
saves initial commit 2020-05-29 00:41:13 +02:00
tronScript initial commit 2020-05-29 00:41:13 +02:00
.gitignore added a README 2020-11-23 19:21:16 +01:00
asm.py initial commit 2020-05-29 00:41:13 +02:00
asm.pyc initial commit 2020-05-29 00:41:13 +02:00
asmCust.py initial commit 2020-05-29 00:41:13 +02:00
compiler_beta.py initial commit 2020-05-29 00:41:13 +02:00
compiler.py initial commit 2020-05-29 00:41:13 +02:00
deCompiler.py initial commit 2020-05-29 00:41:13 +02:00
mima.py initial commit 2020-05-29 00:41:13 +02:00
multiply_test.txt initial commit 2020-05-29 00:41:13 +02:00
pow_test.txt initial commit 2020-05-29 00:41:13 +02:00
README.md added a README 2020-11-23 19:21:16 +01:00
test.asmTron initial commit 2020-05-29 00:41:13 +02:00

This Repo contains very uggly code, that may be disturbing to some readers. Reader discretion is adwised.

asmTron

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.
This programm is optimized for a very specific terminal-size and a global variable has to be changed to switch between Windows / Linux compatability.

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. I forget, what the difference between normal and beta is...

mima.py

A variation of asm.py to emulate a MiMa (minimal machine).

asmCust.py

Does not work (I think...)