rename register to risc

seems to fit the layer much better as we really have a very reduced
instruction set
This commit is contained in:
Torsten Ruger
2017-01-19 09:02:29 +02:00
parent da5823a1a0
commit aa79e41d1c
127 changed files with 348 additions and 346 deletions

18
test/risc/test_machine.rb Normal file
View File

@ -0,0 +1,18 @@
require_relative "../helper"
module Risc
class TestMachine < MiniTest::Test
def setup
@machine = Risc.machine.boot
end
def test_collect_all_types
objects = Risc::Collector.collect_space
objects.each do |id, objekt|
next unless objekt.is_a?( Parfait::Type )
assert Parfait.object_space.get_type_for( objekt.hash ) , objekt.hash
end
end
end
end