compiler.lincode.Main.exec();
System.out.println("Generating assembly code...");
/* Testni izpis generirane kode za vse funkcije. */
Iterator<ImcChunk> chunks = compiler.imcode.Main.chunks.iterator();
while (chunks.hasNext()) {
ImcChunk chunk = chunks.next();
if (chunk instanceof ImcCodeChunk) {
ImcCodeChunk codeChunk = (ImcCodeChunk)chunk;
LinkedList<AsmInstr> asmCode = generateAsmCode(codeChunk.lincode, codeChunk.frame);
System.out.print("\nFUNCTION " + codeChunk.frame.fun.name + ":\n");
Iterator<AsmInstr> instrs = asmCode.iterator();