prog 37 include/assemble.h char *prog; /**<他のプログラムで参照する入口名 */ prog 49 include/assemble.h char *prog; /**<プログラム */ prog 92 include/assemble.h WORD getlabel(const char *prog, const char *label); prog 103 include/assemble.h bool addlabel(const char *prog, const char *label, WORD adr); prog 26 src/assemble.c WORD getadr(const char *prog, const char *str, PASS pass); prog 319 src/assemble.c WORD getadr(const char *prog, const char *str, PASS pass) prog 329 src/assemble.c if((adr = getlabel(prog, str)) == 0xFFFF) { prog 423 src/assemble.c if(pass == SECOND && (adr = getlabel(asptr->prog, str)) == 0xFFFF) { prog 442 src/assemble.c strcpy(asptr->prog, cmdl->label); prog 445 src/assemble.c asptr->ptr = execptr->start = getadr(asptr->prog, cmdl->opd->opdv[0], pass); prog 463 src/assemble.c strcpy(asptr->prog, ""); prog 632 src/assemble.c adr = getadr(asptr->prog, cmdl->opd->opdv[1], pass); /* 第2オペランドはアドレス */ prog 662 src/assemble.c adr = getadr(asptr->prog, cmdl->opd->opdv[0], pass); prog 699 src/assemble.c stat = addlabel(asptr->prog, cmdl->label, asptr->ptr); prog 759 src/assemble.c asptr->prog = malloc_chk(LABELSIZE + 1, "asptr.prog"); prog 791 src/assemble.c FREE(asptr->prog); /* アセンブル時のプロパティを解放 */ prog 20 src/label.c unsigned labelhash(const char *prog, const char *label); prog 60 src/label.c unsigned labelhash(const char *prog, const char *label) prog 66 src/label.c if(prog[0]) { prog 67 src/label.c keys[i++] = label_hashkey(prog); prog 89 src/label.c WORD getlabel(const char *prog, const char *label) prog 91 src/label.c assert(prog != NULL && label != NULL); prog 95 src/label.c for(p = labels[labelhash(prog, label)]; p != NULL; p = p->next) { prog 97 src/label.c if((!prog[0] || (strcmp(prog, l->prog) == 0)) && prog 106 src/label.c bool addlabel(const char *prog, const char *label, WORD adr) prog 114 src/label.c if(getlabel(prog, label) != 0xFFFF) { prog 122 src/label.c l->prog = strdup_chk(prog, "label.prog"); prog 130 src/label.c p->next = labels[h = labelhash(prog, label)]; prog 150 src/label.c if(l[i]->prog[0]) { prog 151 src/label.c fprintf(stdout, "%s.", l[i]->prog); prog 167 src/label.c FREE(p->label->prog);