6abd10f278
started naming instruction arguments properly, starting with compare
Torsten Ruger
2014-05-18 11:11:26 +03:00
f65ad813af
move first arg into derived intruction constructor
Torsten Ruger
2014-05-18 10:27:35 +03:00
a35bba39bc
merge logichelper into last class that uses it
Torsten Ruger
2014-05-18 10:24:14 +03:00
7b1b2c5d87
aliased add_code to <<, to give a bit of the stream feel
Torsten Ruger
2014-05-18 10:15:43 +03:00
53666e8b33
bit of evaling
Torsten Ruger
2014-05-16 23:33:25 +03:00
a08661955f
a bit of cleanup and the good news is, we can output a (small) number
Torsten Ruger
2014-05-16 23:24:19 +03:00
fee82643e5
strangely the coredumps stopped. sure didnt feel like they would
Torsten Ruger
2014-05-16 23:08:45 +03:00
88eeb2bf65
increment implementation (start) and more splitting
Torsten Ruger
2014-05-16 23:08:03 +03:00
7e2210f772
renaming update_status_flag to just update_status
Torsten Ruger
2014-05-16 19:56:13 +03:00
b3f7b66ceb
coding the weird udiv10 and utoa
Torsten Ruger
2014-05-16 19:55:46 +03:00
823c11a381
more work on instrucitons, mov this time
Torsten Ruger
2014-05-16 17:31:01 +03:00
3d497ca622
some tests
Torsten Ruger
2014-05-16 17:30:26 +03:00
155066aac8
own dir for arm tests and split logic off
Torsten Ruger
2014-05-16 15:19:38 +03:00
4030f32ead
finally coded the logic Shifting (what a beast)
Torsten Ruger
2014-05-16 12:55:51 +03:00
87e0f297e3
rename extra to right in logic inst
Torsten Ruger
2014-05-16 11:27:30 +03:00
ccafb09224
rename first hash argument from right to left in logic inst
Torsten Ruger
2014-05-16 10:54:56 +03:00
ef17bbf9dd
rename left to first in instruction and started on logic instruction cleanup
Torsten Ruger
2014-05-16 10:42:25 +03:00
009c0895f4
change right syntax to 1.9 style, looks a little nicer
Torsten Ruger
2014-05-15 21:35:45 +03:00
a0f0d08e81
named the first intruction constructor argument
Torsten Ruger
2014-05-15 19:41:51 +03:00
b4c79d218f
work on Integer.to_s , not a simple task as it turns out
Torsten Ruger
2014-05-15 16:54:23 +03:00
918ede1c02
arm program to generate optimal devision code for constants
Torsten Ruger
2014-05-15 16:53:47 +03:00
054f94d68b
add some comment and tests (but small bugs still there)
Torsten Ruger
2014-05-14 22:34:53 +03:00
c9ffb78e82
allowing comments instead of newlines and not capturing comments (leave that for later as it messes the output)
Torsten Ruger
2014-05-14 22:19:20 +03:00