1
0
Commit Graph

64 Commits

Author SHA1 Message Date
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
3f21bb52e3 Merge branch 'master' into 'master'
Added new status flags for comparison. Added new instructions.

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)

See merge request !1
2015-12-16 17:33:28 -05:00
Christoffer Müller Madsen
1b046525b3 Merge commit '07018389507e790963f06348083796b650510592' 2015-12-16 22:25:54 +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
Christoffer Müller Madsen
0701838950 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:20:33 +01:00
Christoffer Müller Madsen
658d045846 Now featuring real OS X .gitignore! 2015-12-16 20:21:35 +01:00
Christoffer Madsen
9508d690d1 Added OS X related files to .gitignore 2015-12-16 14:37:13 +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
63175f36d0 Initial commit. Holy hell this code is terrible. 2015-12-16 00:05:18 +01:00