A 16-bit hardwired CPU built in Logisim Evolution.
It's based on MiniMiMo, which is based on Warren Toomey's "An Example Hardwired CPU".
The most scuffed assembler ever!?
To assemble a Logisim RAM image run:
node mia.js source.mia output.out --rawWhen assembling for the emulator use the --raw flag to spit out a binary file instead.
node mia.js source.mia output.out --rawFor example programs see the mia/test directory.
Since Logisim only runs at about 120Hz (60 IPS) I wrote a faster emulator (more than 300000x faster).
The index.ts is a simple IO-less benchmark that loads a file and mesures executed instructions per second.
The remimo.ts file is the portable emulator core.
To implement memory mapped IO wrap a UInt16Array with a custom getter/setter.
