wordlnegth is not +1 for string as no trailing 0
This commit is contained in:
@@ -129,7 +129,7 @@ module Parfait
|
|||||||
class_for(MoveInstruction).new(value , self , :opcode => :mov)
|
class_for(MoveInstruction).new(value , self , :opcode => :mov)
|
||||||
end
|
end
|
||||||
def word_length
|
def word_length
|
||||||
padded self.length + 1
|
padded self.length
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user