e4ff1d4420
Move Emulator and TikzPainter into their own files.
2015-12-17 01:16:01 +01:00
31075fd0b9
Moved opcodes into their own file. Now the format is crazy extensible.
2015-12-17 00:52:47 +01:00
b783b22bc4
Fixed som small dumb errors.
2015-12-17 00:11:18 +01:00
9397c8cc56
Added simple test infrastructure, and some simple tests.
2015-12-17 00:06:26 +01:00
Christoffer Müller Madsen
42b2ddbd0a
Additional compare status flags added. Five new compare ops.
...
Added checks in compareVal to set status-keys l and e to signify
respectively 'lower than' and 'equal to'.
Added the following control flow operations:
* jl (less than)
* je (equal to)
* jge (greater than or equal to)
* jle (less than or equal to)
* jne (not equal to)
2015-12-16 22:22:12 +01:00
53d45414f8
Added minor functionality,
2015-12-16 02:09:04 +01:00
f564b27fa6
Did a little overhauling for the OPCODES.
2015-12-16 02:02:19 +01:00
5fb171d25c
Moved drawing functionality to a new class "TikzPainter".
2015-12-16 01:36:23 +01:00
6334d183dd
Fixed naming of the module.
...
Moved the test case to its own file.
Allowed the emulator to be iterated over.
Minor fixes and such.
2015-12-16 00:43:30 +01:00