outfile          1328 tools/chdk_dasm.c void disassemble(firmware *fw, FILE *outfile, t_address start, t_value length)
outfile          1346 tools/chdk_dasm.c             fprintf(outfile,"\n\"loc_%08X:\\n\"\n", addr);
outfile          1353 tools/chdk_dasm.c                 fprintf(outfile,"\"dword_%8.8X  DCD 0x%X \\n\"\n", addr , w);
outfile          1373 tools/chdk_dasm.c                 fprintf(outfile,"Error: ");
outfile          1374 tools/chdk_dasm.c                 if (instr->undefined) fprintf(outfile,"[---undefined instr---] 0x%8.8X     ", w);
outfile          1375 tools/chdk_dasm.c                 if (instr->badbits) fprintf(outfile,  "[---illegal bits---] 0x%8.8X        ", w);
outfile          1376 tools/chdk_dasm.c                 if (instr->oddbits) fprintf(outfile,  "[---unexpected bits---] 0x%8.8X     ", w);
outfile          1378 tools/chdk_dasm.c                     fprintf(outfile,  "[---unknown error---] 0x%8.8X       ", w);
outfile          1381 tools/chdk_dasm.c                     fprintf(outfile,"// rom:%.8x  0x%8.8X \n", addr, w);
outfile          1383 tools/chdk_dasm.c                 else fprintf(outfile,"\n");													
outfile          1388 tools/chdk_dasm.c                 if (options.flags & disopt_line_numbers) fprintf(outfile,"/*%3d*/",(addr - options.start_address) / 4 + 1);
outfile          1393 tools/chdk_dasm.c                     fprintf(outfile,"      ");
outfile          1396 tools/chdk_dasm.c                     fprintf(outfile,"%s%-40s // rom:%.8x  0x%8.8X", indent, instr->text, addr, w);
outfile          1398 tools/chdk_dasm.c                 else fprintf(outfile,"%s%s", indent, instr->text);
outfile          1403 tools/chdk_dasm.c                         fprintf(outfile,"  // --> Patched. Old value = _%s.", patch_old_func_name);
outfile          1405 tools/chdk_dasm.c                         fprintf(outfile,"  // --> Patched. Old value = 0x%X.", patch_old_val);
outfile          1408 tools/chdk_dasm.c                         fprintf(outfile, " %s", patch_comment);
outfile          1414 tools/chdk_dasm.c                     fprintf(outfile, "  // %s", patch_comment);
outfile          1419 tools/chdk_dasm.c                     fprintf(outfile,"  // --> Nullsub call removed.");
outfile          1421 tools/chdk_dasm.c                 fprintf(outfile,"\n");
outfile            90 tools/chdk_dasm.h void disassemble(firmware *fw, FILE *outfile, t_address start, t_value length);
outfile           410 tools/code_gen.c FILE *outfile;
outfile           793 tools/code_gen.c             fprintf(outfile,"\n\"loc_%08X:\\n\"\n", addr) ;	
outfile           820 tools/code_gen.c             if (x > 0) fwrite(buf,1,x,outfile);
outfile           914 tools/code_gen.c     fprintf(outfile,"\n/*************************************************************/");
outfile           915 tools/code_gen.c     fprintf(outfile,"\n//** %s @ 0x%08X - 0x%08X, length=%d\n", func_name, p->func_start, last_used_addr, (last_used_addr - p->func_start) / 4 + 1 ) ;
outfile           916 tools/code_gen.c     fprintf(outfile,"void __attribute__((naked,noinline)) %s() {\n", func_name);
outfile           944 tools/code_gen.c     disassemble(fw, outfile, start_address, (end_address + 4 - start_address) / 4);
outfile           960 tools/code_gen.c     disassemble(fw, outfile, addr, 1);
outfile           975 tools/code_gen.c     disassemble(fw, outfile, addr, 1);
outfile           990 tools/code_gen.c     disassemble(fw, outfile, addr, 1);
outfile          1003 tools/code_gen.c         outfile = fopen(p->name, "w");
outfile          1004 tools/code_gen.c         fprintf(outfile, "/*\n * %s - auto-generated by CHDK code_gen.\n */\n", p->name);
outfile          1008 tools/code_gen.c         if (outfile != stdout)
outfile          1010 tools/code_gen.c             fclose(outfile);
outfile          1011 tools/code_gen.c             outfile = stdout;
outfile          1018 tools/code_gen.c         fprintf(outfile, "%s\n", p->comment);
outfile          1025 tools/code_gen.c         fprintf(outfile,"}\n");
outfile          1030 tools/code_gen.c         fprintf(outfile,"asm volatile (\n");
outfile          1035 tools/code_gen.c         fprintf(outfile,");\n");
outfile          1055 tools/code_gen.c         if (options.flags & disopt_line_numbers) fprintf(outfile,"       ");
outfile          1056 tools/code_gen.c         fprintf(outfile,"\"    LDR     PC, =0x%08X \\n\"  // Continue in firmware\n",addr);
outfile          1177 tools/code_gen.c     outfile = stdout;
outfile          1222 tools/code_gen.c     if (outfile != stdout)
outfile          1223 tools/code_gen.c         fclose(outfile);