debugging positions

This commit is contained in:
Torsten Ruger
2018-05-05 19:32:01 +03:00
parent d49d2665c5
commit 43d5521cfc
9 changed files with 30 additions and 17 deletions

View File

@@ -21,7 +21,7 @@ module Arm
Positioned.set_position(bin , 0x20)
code = @machine.call( bin ,{} )#this jumps to the next instruction
Positioned.set_position(code , 0)
assert_code code , :call, [0x08,0x0,0x0,0xeb]
assert_code code , :call, [0x09,0x0,0x0,0xeb]
end
def test_swi
code = @machine.swi( 0x05 )