pass 136 include/assemble.h bool assemblefile(const char *file, PASS pass); pass 26 src/assemble.c WORD getadr(const char *prog, const char *str, PASS pass); pass 50 src/assemble.c WORD getliteral(const char *str, PASS pass); pass 61 src/assemble.c void writememory(WORD word, WORD adr, PASS pass); pass 72 src/assemble.c void writestr(const char *str, bool literal, PASS pass); pass 82 src/assemble.c void writedc(const char *str, PASS pass); pass 93 src/assemble.c void assemble_start(const CMDLINE *cmdl, PASS pass); pass 104 src/assemble.c void assemble_ds(const CMDLINE *cmdl, PASS pass); pass 115 src/assemble.c void assemble_end(const CMDLINE *cmdl, PASS pass); pass 126 src/assemble.c void assemble_dc(const CMDLINE *cmdl, PASS pass); pass 148 src/assemble.c void assemble_in(const CMDLINE *cmdl, PASS pass); pass 172 src/assemble.c void assemble_out(const CMDLINE *cmdl, PASS pass); pass 193 src/assemble.c void assemble_rpush(const CMDLINE *cmdl, PASS pass); pass 215 src/assemble.c void assemble_rpop(const CMDLINE *cmdl, PASS pass); pass 235 src/assemble.c bool casl2cmd(CMD *cmdtbl, const CMDLINE *cmdl, PASS pass); pass 245 src/assemble.c bool assemble_comet2cmd(const CMDLINE *cmdl, PASS pass); pass 255 src/assemble.c bool assembletok(const CMDLINE *cmdl, PASS pass); pass 267 src/assemble.c bool assembleline(const char *line, PASS pass); pass 319 src/assemble.c WORD getadr(const char *prog, const char *str, PASS pass) pass 324 src/assemble.c adr = getliteral(str, pass); pass 328 src/assemble.c if(pass == SECOND) { pass 357 src/assemble.c WORD getliteral(const char *str, PASS pass) pass 364 src/assemble.c writestr(str, true, pass); pass 366 src/assemble.c writememory(nh2word(str), (asptr->lptr)++, pass); pass 371 src/assemble.c void writememory(WORD word, WORD adr, PASS pass) pass 382 src/assemble.c if(pass == SECOND && asmode.asdetail == true) { pass 387 src/assemble.c void writestr(const char *str, bool literal, PASS pass) pass 405 src/assemble.c writememory(str[i], (asptr->lptr)++, pass); pass 408 src/assemble.c writememory(str[i], (asptr->ptr)++, pass); pass 413 src/assemble.c void writedc(const char *str, PASS pass) pass 418 src/assemble.c writestr(str, false, pass); pass 423 src/assemble.c if(pass == SECOND && (adr = getlabel(asptr->prog, str)) == 0xFFFF) { pass 427 src/assemble.c writememory(adr, (asptr->ptr)++, pass); pass 431 src/assemble.c void assemble_start(const CMDLINE *cmdl, PASS pass) pass 445 src/assemble.c asptr->ptr = execptr->start = getadr(asptr->prog, cmdl->opd->opdv[0], pass); pass 449 src/assemble.c void assemble_end(const CMDLINE *cmdl, PASS pass) pass 456 src/assemble.c if(pass == FIRST) { pass 460 src/assemble.c else if(pass == SECOND) { pass 466 src/assemble.c void assemble_ds(const CMDLINE *cmdl, PASS pass) pass 473 src/assemble.c writememory(0x0, (asptr->ptr)++, pass); pass 480 src/assemble.c void assemble_dc(const CMDLINE *cmdl, PASS pass) pass 487 src/assemble.c writedc(cmdl->opd->opdv[i], pass); pass 494 src/assemble.c void assemble_in(const CMDLINE *cmdl, PASS pass) pass 502 src/assemble.c assembleline(" PUSH 0,GR1", pass); pass 503 src/assemble.c assembleline(" PUSH 0,GR2", pass); pass 505 src/assemble.c assembleline(line, pass); pass 507 src/assemble.c assembleline(line, pass); pass 508 src/assemble.c assembleline(" SVC 1", pass); pass 509 src/assemble.c assembleline(" POP GR2", pass); pass 510 src/assemble.c assembleline(" POP GR1", pass); pass 514 src/assemble.c void assemble_out(const CMDLINE *cmdl, PASS pass) pass 522 src/assemble.c assembleline(" PUSH 0,GR1", pass); pass 523 src/assemble.c assembleline(" PUSH 0,GR2", pass); pass 525 src/assemble.c assembleline(line, pass); pass 527 src/assemble.c assembleline(line, pass); pass 528 src/assemble.c assembleline(" SVC 2", pass); pass 529 src/assemble.c assembleline(" LAD GR1,=#A", pass); pass 530 src/assemble.c assembleline(" LAD GR2,=1", pass); pass 531 src/assemble.c assembleline(" SVC 2", pass); pass 532 src/assemble.c assembleline(" POP GR2", pass); pass 533 src/assemble.c assembleline(" POP GR1", pass); pass 537 src/assemble.c void assemble_rpush(const CMDLINE *cmdl, PASS pass) pass 547 src/assemble.c assembleline(line, pass); pass 552 src/assemble.c void assemble_rpop(const CMDLINE *cmdl, PASS pass) pass 562 src/assemble.c assembleline(line, pass); pass 567 src/assemble.c bool casl2cmd(CMD *cmdtbl, const CMDLINE *cmdl, PASS pass) pass 574 src/assemble.c (*cmdptr)(cmdl, pass); pass 581 src/assemble.c bool assemble_comet2cmd(const CMDLINE *cmdl, PASS pass) pass 594 src/assemble.c writememory(cmd, (asptr->ptr)++, pass); pass 605 src/assemble.c writememory(cmd, (asptr->ptr)++, pass); pass 615 src/assemble.c writememory(cmd, (asptr->ptr)++, pass); pass 632 src/assemble.c adr = getadr(asptr->prog, cmdl->opd->opdv[1], pass); /* 第2オペランドはアドレス */ pass 634 src/assemble.c writememory(cmd, (asptr->ptr)++, pass); pass 635 src/assemble.c writememory(adr, (asptr->ptr)++, pass); pass 658 src/assemble.c if(pass == SECOND && cmd == 0x8000) { /* CALL命令 */ pass 661 src/assemble.c if(cmd != 0x8000 || (pass == SECOND && adr == 0xFFFF)) { pass 662 src/assemble.c adr = getadr(asptr->prog, cmdl->opd->opdv[0], pass); pass 665 src/assemble.c writememory(cmd, (asptr->ptr)++, pass); pass 666 src/assemble.c writememory(adr, (asptr->ptr)++, pass); pass 671 src/assemble.c bool assembletok(const CMDLINE *cmdl, PASS pass) pass 678 src/assemble.c if(casl2cmd(ascmd, cmdl, pass) == false && casl2cmd(macrocmd, cmdl, pass) == false) { pass 680 src/assemble.c if(assemble_comet2cmd(cmdl, pass) == false) { pass 689 src/assemble.c bool assembleline(const char *line, PASS pass) pass 698 src/assemble.c if(pass == FIRST && cmdl->label[0]) { pass 703 src/assemble.c stat = assembletok(cmdl, pass); pass 723 src/assemble.c bool assemblefile(const char *file, PASS pass) pass 735 src/assemble.c if((pass == FIRST && asmode.src == true) || (pass == SECOND && asmode.asdetail == true)) { pass 738 src/assemble.c if(assembleline(line, pass) == false) { pass 754 src/assemble.c PASS pass; pass 762 src/assemble.c for(pass = FIRST; pass <= SECOND; pass++) { pass 765 src/assemble.c if(pass == FIRST) { pass 767 src/assemble.c } else if(pass == SECOND) { pass 773 src/assemble.c fprintf(stdout, "\nAssemble %s (%d)\n", filev[i], pass); pass 776 src/assemble.c stat = assemblefile(filev[i], pass); pass 781 src/assemble.c if(pass == FIRST && asmode.label == true) {