pass binary that arm instruction belongs to in

at least to first. repositioning and stuff next
This commit is contained in:
Torsten Ruger
2018-05-06 19:56:36 +03:00
parent 415df49199
commit e89c4d1ce1
4 changed files with 31 additions and 14 deletions

View File

@ -45,9 +45,9 @@ module Risc
end
# labels have the same position as their next
def set_position( position , count = 0)
Position.set_position(self,position)
self.next.set_position(position,count) if self.next
def set_position( position , count = 0 , extra = nil)
Position.set_position(self,position , extra)
self.next.set_position(position,count,extra) if self.next
end
# shame we need this, just for logging