2016-12-09 12:20:48 +01:00
|
|
|
class String
|
|
|
|
def camelize
|
|
|
|
self.split("_").collect( &:capitalize ).join
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
2015-11-18 10:55:29 +01:00
|
|
|
require "register/padding"
|
|
|
|
require "register/positioned"
|
2017-01-18 07:45:42 +01:00
|
|
|
require "vm"
|
2015-10-22 17:16:29 +02:00
|
|
|
|
2017-01-18 19:09:43 +01:00
|
|
|
require "parfait"
|
2016-12-08 19:13:08 +01:00
|
|
|
require "register/machine"
|
2015-10-22 17:16:29 +02:00
|
|
|
|
|
|
|
class Fixnum
|
|
|
|
def fits_u8?
|
|
|
|
self >= 0 and self <= 255
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2016-12-09 12:20:48 +01:00
|
|
|
|
2015-10-22 17:16:29 +02:00
|
|
|
require "register/instruction"
|
|
|
|
require "register/register_value"
|
|
|
|
require "register/assembler"
|