wordlnegth is not +1 for string as no trailing 0

This commit is contained in:
Torsten Ruger 2015-07-02 13:47:46 +03:00
parent caa4ae1cf0
commit 9a6c5d9ea8

View File

@ -129,7 +129,7 @@ module Parfait
class_for(MoveInstruction).new(value , self , :opcode => :mov)
end
def word_length
padded self.length + 1
padded self.length
end
end
end