fix positioning and the assembly works

This commit is contained in:
Torsten Ruger
2018-03-29 18:03:21 +03:00
parent 34b16a2332
commit e012f16d7f
6 changed files with 33 additions and 21 deletions

View File

@ -25,7 +25,7 @@ module Parfait
end
def each_word
index = 1
while( index <= 14)
while( index < 14)
yield get_internal_word(index)
index += 1
end

View File

@ -49,7 +49,7 @@ module Parfait
1
end
def padded_length
2
2 * 4
end
end
@ -58,7 +58,7 @@ module Parfait
7
end
def padded_length
8
8 * 4
end
end
class Data16 < DataObject
@ -66,7 +66,7 @@ module Parfait
15
end
def padded_length
16
16 * 4
end
end
end