0.0.4 • Published 3 years ago
@theredhead/emulated4719 v0.0.4
Emulated 4719 processor
Purpose
This is a study toy that serves no real purpose.
Features
- Simulates the 4719 from the COMP11719 UNSW course.
- Comes with
tokenize()
andcompiler()
functions that take source code and put out anumber[]
that can be used by the processor. (seetests/compile.ts
) 3 runmodes:
- GO => just run everything possible at once.
- TIMED => automatically tick every
delayBetweenInstructions
milliseconds - STEPPED => you call
tick()
every time you want to execute an instruction.
@TODO
frontend...
Usage
I have faith that you can figure it out. If not, send me a line!