move return address generation to factory
removes the list from space adds a ReturnAddress factory instead and uses these throughout
This commit is contained in:
@ -25,7 +25,7 @@ module Risc
|
||||
assert_equal 0 , Position.get(@linker.cpu_init).at
|
||||
end
|
||||
def test_cpu_at
|
||||
assert_equal "0xb12c" , Position.get(@linker.cpu_init.first).to_s
|
||||
assert_equal "0xd1fc" , Position.get(@linker.cpu_init.first).to_s
|
||||
end
|
||||
def test_cpu_label
|
||||
assert_equal Position , Position.get(@linker.cpu_init.first).class
|
||||
|
Reference in New Issue
Block a user