aa79e41d1c
seems to fit the layer much better as we really have a very reduced instruction set
25 lines
346 B
Ruby
25 lines
346 B
Ruby
class String
|
|
def camelize
|
|
self.split("_").collect( &:capitalize ).join
|
|
end
|
|
end
|
|
|
|
|
|
require "risc/padding"
|
|
require "risc/positioned"
|
|
require "vm"
|
|
|
|
require "parfait"
|
|
require "risc/machine"
|
|
|
|
class Fixnum
|
|
def fits_u8?
|
|
self >= 0 and self <= 255
|
|
end
|
|
end
|
|
|
|
|
|
require "risc/instruction"
|
|
require "risc/register_value"
|
|
require "risc/assembler"
|