start by moving positioned(module) to position(class)

This commit is contained in:
Torsten Ruger
2018-05-05 19:47:18 +03:00
parent 43d5521cfc
commit d65a982454
14 changed files with 76 additions and 62 deletions

View File

@ -22,7 +22,7 @@ module Arm
end
def set_position( position , count )
Positioned.set_position(self,position)
Risc::Position.set_position(self,position)
position += byte_length
if self.next
count += 1 #assumes 4 byte instructions, as does the whole setup