word length fixes
This commit is contained in:
@ -90,7 +90,7 @@ module Parfait
|
||||
end
|
||||
|
||||
def word_length
|
||||
padded_words( get_layout().get_length() + 2 )
|
||||
padded_words( get_layout().get_length() )
|
||||
end
|
||||
|
||||
# Object
|
||||
|
@ -129,7 +129,7 @@ module Parfait
|
||||
class_for(MoveInstruction).new(value , self , :opcode => :mov)
|
||||
end
|
||||
def word_length
|
||||
(string.length+1) / 4
|
||||
padded self.length + 1
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user