reinit risc_init
fixes over 100 tests :-)
This commit is contained in:
parent
6be28e7f55
commit
d49d2665c5
@ -18,6 +18,7 @@ module Risc
|
||||
|
||||
def initialize
|
||||
@booted = false
|
||||
@risc_init = nil
|
||||
@constants = []
|
||||
end
|
||||
attr_reader :constants , :cpu_init , :binary_init
|
||||
@ -135,7 +136,6 @@ module Risc
|
||||
return do_create_binary
|
||||
rescue LinkException
|
||||
not_ok += 1
|
||||
puts "relink no #{not_ok}"
|
||||
position_code
|
||||
end
|
||||
end
|
||||
|
@ -39,7 +39,7 @@ module Risc
|
||||
assert_equal Parfait::BinaryCode , @machine.binary_init.class
|
||||
end
|
||||
def test_has_jump
|
||||
assert_equal "1" , @machine.binary_init.get_word(1).to_s(16)
|
||||
assert_equal "ea0011f4" , @machine.binary_init.get_word(1).to_s(16)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user