Get a basic MetaClass going

Does get created in new, but not in boot.
Also not yet used in compiling
This commit is contained in:
Torsten Ruger
2019-02-16 23:24:16 +02:00
parent 2fbea82039
commit 3db7707614
11 changed files with 175 additions and 10 deletions

View File

@ -54,7 +54,7 @@ module Risc
end
def test_pc1
@interpreter.tick
assert_equal 21688 , @interpreter.pc
assert_equal 23672 , @interpreter.pc
end
def test_tick2
@interpreter.tick
@ -68,7 +68,7 @@ module Risc
def test_pc2
@interpreter.tick
@interpreter.tick
assert_equal 21692 , @interpreter.pc
assert_equal 23676 , @interpreter.pc
end
def test_tick_14_jump
14.times {@interpreter.tick}