rename Position get/set
This commit is contained in:
@ -18,9 +18,9 @@ module Arm
|
||||
def test_method_call
|
||||
Risc.machine.boot
|
||||
bin = Parfait::BinaryCode.new(1)
|
||||
Risc::Position.set_position(bin , 0x20)
|
||||
Risc::Position.set(bin , 0x20)
|
||||
code = @machine.call( bin ,{} )#this jumps to the next instruction
|
||||
Risc::Position.set_position(code , 0)
|
||||
Risc::Position.set(code , 0)
|
||||
assert_code code , :call, [0x09,0x0,0x0,0xeb]
|
||||
end
|
||||
def test_swi
|
||||
|
Reference in New Issue
Block a user