fprintf 316 src/assemble.c fprintf(stream, "%s:%5d:%s", filename, lineno, line); fprintf 383 src/assemble.c fprintf(stdout, "\t#%04X\t#%04X\n", adr, word); fprintf 743 src/assemble.c fprintf(stderr, "Assemble error - %d: %s\n", cerr->num, cerr->msg); fprintf 773 src/assemble.c fprintf(stdout, "\nAssemble %s (%d)\n", filev[i], pass); fprintf 782 src/assemble.c fprintf(stdout, "\nLabel::::\n"); fprintf 141 src/casl2.c fprintf(stdout, cmdversion, version); fprintf 144 src/casl2.c fprintf(stdout, usage, argv[0]); fprintf 147 src/casl2.c fprintf(stderr, usage, argv[0]); fprintf 156 src/casl2.c fprintf(stderr, "casl2 error - %d: %s\n", cerr->num, cerr->msg); fprintf 38 src/casl2rev.c fprintf(stdout, cmdversion, version); fprintf 41 src/casl2rev.c fprintf(stdout, usage, argv[0]); fprintf 44 src/casl2rev.c fprintf(stderr, usage, argv[0]); fprintf 51 src/casl2rev.c fprintf(stderr, "disassemble error - %d: %s\n", cerr->num, cerr->msg); fprintf 8 src/cmem.c fprintf(stderr, "%s: cannot allocate memory\n", tag); fprintf 19 src/cmem.c fprintf(stderr, "%s: cannot allocate memory\n", tag); fprintf 68 src/comet2.c fprintf(stdout, cmdversion, version); fprintf 71 src/comet2.c fprintf(stdout, usage, argv[0]); fprintf 74 src/comet2.c fprintf(stderr, usage, argv[0]); fprintf 81 src/comet2.c fprintf(stderr, "comet2 error - %d: %s\n", cerr->num, cerr->msg); fprintf 62 src/comet2monitor.c fprintf(stdout, cmdversion, version); fprintf 65 src/comet2monitor.c fprintf(stdout, usage, argv[0]); fprintf 68 src/comet2monitor.c fprintf(stderr, usage, argv[0]); fprintf 85 src/disassemble.c fprintf(stdout, " "); fprintf 88 src/disassemble.c fprintf(stdout, "; #%04X: #%04X", pradr, wordv[0]); fprintf 90 src/disassemble.c fprintf(stdout, "; #%04X: #%04X #%04X", pradr, wordv[0], wordv[1]); fprintf 99 src/disassemble.c cnt += fprintf(stdout, " %-7s ", cmdname); fprintf 101 src/disassemble.c cnt += fprintf(stdout, "%s,", g = grstr((word & 0x00F0) >> 4)); fprintf 104 src/disassemble.c cnt += fprintf(stdout, "#%04X", adr); fprintf 106 src/disassemble.c cnt += fprintf(stdout, ",%s", g = grstr(x)); fprintf 119 src/disassemble.c cnt += fprintf(stdout, " %-7s ", cmdname); fprintf 123 src/disassemble.c cnt += fprintf(stdout, "%s,%s", g1, g2); fprintf 128 src/disassemble.c cnt += fprintf(stdout, "%s", g); fprintf 138 src/disassemble.c cnt = fprintf(stdout, " DC %-5d ", word); fprintf 140 src/disassemble.c fprintf(stdout, " ::" ); fprintf 148 src/disassemble.c cnt = fprintf(stdout, " DS %-5d ", wcnt); fprintf 151 src/disassemble.c fprintf(stdout, "\n"); fprintf 203 src/disassemble.c fprintf(stdout, "MAIN START\n"); fprintf 230 src/disassemble.c fprintf(stdout, "\n"); fprintf 232 src/disassemble.c fprintf(stdout, " END\n"); fprintf 266 src/disassemble.c fprintf(stdout, "\n"); fprintf 9 src/dump.c fprintf(stdout, "#%04X: adr :", sys->cpu->pr); fprintf 14 src/dump.c fprintf(stdout, " %04X", i); fprintf 16 src/dump.c fprintf(stdout, "\n"); fprintf 17 src/dump.c fprintf(stdout, " -------------------------------------------------------------------------------------\n"); fprintf 22 src/dump.c fprintf(stdout, "#%04X: %04X: ", sys->cpu->pr, i); fprintf 26 src/dump.c fprintf(stdout, " "); fprintf 29 src/dump.c fprintf(stdout, "%04X", sys->memory[i]); fprintf 31 src/dump.c fprintf(stdout, "\n"); fprintf 33 src/dump.c fprintf(stdout, " "); fprintf 47 src/dump.c fprintf(stdout, "#%04X: GR%d: ", sys->cpu->pr, i); fprintf 49 src/dump.c fprintf(stdout, "\n"); fprintf 51 src/dump.c fprintf(stdout, "#%04X: SP: %6d = #%04X = %s\n", sys->cpu->pr, sys->cpu->sp, sys->cpu->sp, sp); fprintf 52 src/dump.c fprintf(stdout, "#%04X: PR: %6d = #%04X = %s\n", sys->cpu->pr, sys->cpu->pr, sys->cpu->pr, pr); fprintf 53 src/dump.c fprintf(stdout, "#%04X: FR (OF SF ZF): %s\n", sys->cpu->pr, fr + L3BIT); /* FRは下位3けたを表示 */ fprintf 44 src/dumpword.c fprintf(stdout, cmdversion, version); fprintf 47 src/dumpword.c fprintf(stdout, usage, argv[0]); fprintf 50 src/dumpword.c fprintf(stderr, usage, argv[0]); fprintf 57 src/dumpword.c fprintf(stderr, usage, argv[0]); fprintf 64 src/dumpword.c fprintf(stderr, "Dumpword Error - %d: %s\n", cerr->num, cerr->msg); fprintf 67 src/dumpword.c fprintf(stdout, "%6s: ", argv[optind]); fprintf 69 src/dumpword.c fprintf(stdout, "\n"); fprintf 687 src/exec.c fprintf(stdout, "\nExecuting machine codes\n"); fprintf 694 src/exec.c fprintf(stdout, "#%04X: Register::::\n", sys->cpu->pr); fprintf 698 src/exec.c fprintf(stdout, "#%04X: Memory::::\n", sys->cpu->pr); fprintf 701 src/exec.c fprintf(stdout, "\n"); fprintf 709 src/exec.c fprintf(stdout, "%s", monmsg); fprintf 738 src/exec.c fprintf(stdout, "Return to top.\n"); fprintf 754 src/exec.c fprintf(stderr, "Execute error - %d: %s\n", cerr->num, cerr->msg); fprintf 151 src/label.c fprintf(stdout, "%s.", l[i]->prog); fprintf 153 src/label.c fprintf(stdout, "%s ---> #%04X\n", l[i]->label, l[i]->adr); fprintf 40 src/load.c fprintf(stderr, "Load error - %d: %s\n", cerr->num, cerr->msg); fprintf 44 src/monitor.c fprintf(stderr, "%04X: Breakpoint is already defined.\n", adr); fprintf 94 src/monitor.c fprintf(stdout, "List of breakpoints\n"); fprintf 97 src/monitor.c fprintf(stdout, "#%04X\n", p->adr); fprintf 102 src/monitor.c fprintf(stdout, "(No breakpoints.)\n"); fprintf 201 src/monitor.c fprintf(stderr, " "); fprintf 203 src/monitor.c fprintf(stderr, "%s", argv[i]); fprintf 205 src/monitor.c fprintf(stderr, ": ignored.\n"); fprintf 218 src/monitor.c fprintf(stdout, "All breakpoints are deleted.\n"); fprintf 222 src/monitor.c fprintf(stderr, "%s: address error\n", argv[1]); fprintf 228 src/monitor.c fprintf(stdout, "#%04X: breakpoint added\n", w); fprintf 230 src/monitor.c fprintf(stdout, "No breakpoint added\n"); fprintf 235 src/monitor.c fprintf(stdout, "#%04X: breakpoint deleted\n", w); fprintf 237 src/monitor.c fprintf(stdout, "No breakpoint deleted\n"); fprintf 241 src/monitor.c fprintf(stdout, "breakpoint manipulate:\n"); fprintf 242 src/monitor.c fprintf(stdout, " b[reak] a[dd] <address>\n"); fprintf 243 src/monitor.c fprintf(stdout, " b[reak] d[el] <address>\n"); fprintf 244 src/monitor.c fprintf(stdout, " b[reak] l[ist]\n"); fprintf 245 src/monitor.c fprintf(stdout, " b[reak] r[eset]\n"); fprintf 247 src/monitor.c fprintf(stderr, "%s: Not breakpoint manipulate command. see `b ?'.\n", argv[0]); fprintf 292 src/monitor.c fprintf(stderr, "Error: Input file name.\n"); fprintf 311 src/monitor.c fprintf(stdout, "Quit: COMET II monitor\n"); fprintf 318 src/monitor.c fprintf(stdout, "Reset COMET II.\n"); fprintf 327 src/monitor.c fprintf(stdout, "#%04X: Register::::\n", sys->cpu->pr); fprintf 337 src/monitor.c fprintf(stdout, "#%04X: Register::::\n", sys->cpu->pr); fprintf 341 src/monitor.c fprintf(stdout, "b[reak] -- Manipulate Breakpoints. See details, `b ?'.\n"); fprintf 342 src/monitor.c fprintf(stdout, "c[ontinue] -- Continue running your program.\n"); fprintf 343 src/monitor.c fprintf(stdout, "d[ump] -- Display memory dump. `d[ump] a[uto]/n[oauto]' set auto/noauto display.\n"); fprintf 344 src/monitor.c fprintf(stdout, "l[oad] -- Load object from a file to the memory. `l[oad] <filepath> <address>' if address is omitted, load to address 0.\n"); fprintf 345 src/monitor.c fprintf(stdout, "n[ext] -- Go next instruction.\n"); fprintf 346 src/monitor.c fprintf(stdout, "q[uit] -- Quit running your program.\n"); fprintf 347 src/monitor.c fprintf(stdout, "reset -- Reset the system.\n"); fprintf 348 src/monitor.c fprintf(stdout, "r[everse] -- Disassemble memory. `r[everse] <start address> <end address>.\n"); fprintf 349 src/monitor.c fprintf(stdout, "s[ave] -- Save object from the memory to a file. `s[ave] <filepath> [<start address1> [<end address>]]' if <start address> and <end address> is omitted, save the whole memory. if <end address> is omitted, save the memory after <start address>.\n"); fprintf 350 src/monitor.c fprintf(stdout, "t[race] -- Display CPU register. `t[race] a[uto]/n[oauto]' set auto/noauto display. \n"); fprintf 351 src/monitor.c fprintf(stdout, "T[race] -- Display CPU register as logical value. `t[race] a[uto]/n[oauto]' set auto/noauto display. \n"); fprintf 352 src/monitor.c fprintf(stdout, "?/h[elp] -- Display this help.\n"); fprintf 396 src/monitor.c fprintf(stdout, "%s ", monitor_prompt); fprintf 403 src/monitor.c fprintf(stdout, "%s\n", buf); fprintf 142 src/word.c fprintf(stdout, "%6u", word); fprintf 144 src/word.c fprintf(stdout, "%6d", (signed short)word); fprintf 146 src/word.c fprintf(stdout, " = #%04X = %s", word, bit); fprintf 149 src/word.c fprintf(stdout, " = \'%c\'", word); fprintf 151 src/word.c fprintf(stdout, " = \'\\n\'"); fprintf 153 src/word.c fprintf(stdout, " = \'\\t\'");