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:
Torsten Ruger
2018-06-19 17:35:00 +03:00
parent 956c2ebe54
commit db459fcd3d
4 changed files with 6 additions and 3 deletions

View File

@ -147,7 +147,7 @@ module Risc
end
def self.set?(object)
self.positions.has_key?(object)
self.positions[object]
end
# get a position from the cache (object -> position)