test and last fixes for previous commits (allocalte ints)
mostly just fixing the additional instructions close #20
This commit is contained in:
@ -64,7 +64,9 @@ module Risc
|
||||
str = all.collect{|i| i.class.name}.join(", ").gsub("Risc::","")
|
||||
str = "[#{str}]"
|
||||
all = str.split(",").each_slice(5).collect { |line| " " + line.join(",")}
|
||||
all.join(",\n")
|
||||
res = ""
|
||||
all.each_with_index { |line,index| res += "#{line}, ##{index*5 + 4}\n"}
|
||||
res
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user