fix label loading in arm
was still loading the integer address instead of the return address's address Hello World working
This commit is contained in:
@ -90,7 +90,9 @@ module Arm
|
||||
end
|
||||
|
||||
def label( pos = 0x22 + 8)
|
||||
label = Risc::Label.new("some" , "Label" , FakeAddress.new(pos))
|
||||
addr = FakeAddress.new(pos)
|
||||
Risc::Position.new(addr).set(pos)
|
||||
label = Risc::Label.new("some" , "Label" , addr)
|
||||
Risc::Position.create(label).set(pos)
|
||||
#Risc::Position.set(l , pos , @binary)
|
||||
label
|
||||
|
Reference in New Issue
Block a user