wordlnegth is not +1 for string as no trailing 0
This commit is contained in:
parent
caa4ae1cf0
commit
9a6c5d9ea8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user