clean up booting

many machine boot became obsolete
or just neede parfait to boot
actual linker functionality pending
This commit is contained in:
Torsten Ruger
2018-07-01 14:12:42 +03:00
parent e75aef933d
commit c947c27a14
32 changed files with 71 additions and 62 deletions

View File

@ -25,7 +25,7 @@ module Arm
assert_nil code.branch_to
end
def test_method_call
Risc.machine.boot
Parfait.boot!
bin = Parfait::BinaryCode.new(1)
Risc::Position.new(bin).set(0x20)
code = @machine.call( bin ,{} )#this jumps to the next instruction

View File

@ -5,7 +5,6 @@ module Arm
def setup
Parfait.boot!
Risc.machine.boot
@jump = Risc::DynamicJump.new("" , :r1)
@codes = Translator.new.translate @jump
end