rubyx/lib/risc.rb
Torsten Ruger aa79e41d1c rename register to risc
seems to fit the layer much better as we really have a very reduced
instruction set
2017-01-19 09:02:29 +02:00

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"