adr 51 include/assemble.h WORD adr; /**<アドレス */ adr 103 include/assemble.h bool addlabel(const char *prog, const char *label, WORD adr); adr 147 include/assemble.h bool assemble(int filec, char *filev[], WORD adr); adr 39 include/monitor.h WORD adr; /**<アドレス */ adr 66 include/monitor.h unsigned adrhash(WORD adr); adr 103 include/monitor.h bool getbps(WORD adr); adr 112 include/monitor.h bool addbps(WORD adr); adr 122 include/monitor.h bool delbps(WORD adr); adr 61 src/assemble.c void writememory(WORD word, WORD adr, PASS pass); adr 321 src/assemble.c WORD adr = 0; adr 324 src/assemble.c adr = getliteral(str, pass); adr 326 src/assemble.c adr = nh2word(str); adr 329 src/assemble.c if((adr = getlabel(prog, str)) == 0xFFFF) { adr 334 src/assemble.c return adr; adr 360 src/assemble.c WORD adr = asptr->lptr; adr 368 src/assemble.c return adr; adr 371 src/assemble.c void writememory(WORD word, WORD adr, PASS pass) adr 376 src/assemble.c if(adr >= sys->memsize) { adr 377 src/assemble.c setcerr(119, (n = word2n(adr))); /* out of COMET II memory */ adr 381 src/assemble.c (sys->memory)[adr] = word; adr 383 src/assemble.c fprintf(stdout, "\t#%04X\t#%04X\n", adr, word); adr 415 src/assemble.c WORD adr = 0; adr 421 src/assemble.c adr = nh2word(str); adr 423 src/assemble.c if(pass == SECOND && (adr = getlabel(asptr->prog, str)) == 0xFFFF) { adr 427 src/assemble.c writememory(adr, (asptr->ptr)++, pass); adr 586 src/assemble.c WORD adr = 0; adr 632 src/assemble.c adr = getadr(asptr->prog, cmdl->opd->opdv[1], pass); /* 第2オペランドはアドレス */ adr 635 src/assemble.c writememory(adr, (asptr->ptr)++, pass); adr 659 src/assemble.c adr = getlabel("", cmdl->opd->opdv[0]); adr 661 src/assemble.c if(cmd != 0x8000 || (pass == SECOND && adr == 0xFFFF)) { adr 662 src/assemble.c adr = getadr(asptr->prog, cmdl->opd->opdv[0], pass); adr 666 src/assemble.c writememory(adr, (asptr->ptr)++, pass); adr 751 src/assemble.c bool assemble(int filec, char *filev[], WORD adr) adr 760 src/assemble.c asptr->ptr = adr; adr 58 src/disassemble.c void disassemble_cmd_adr_x(CMDTYPE cmdtype, const char *cmdname, WORD word, WORD adr, WORD pradr); adr 93 src/disassemble.c void disassemble_cmd_adr_x(CMDTYPE cmdtype, const char *cmdname, WORD word, WORD adr, WORD pradr) adr 104 src/disassemble.c cnt += fprintf(stdout, "#%04X", adr); adr 109 src/disassemble.c disassemble_puts_code(cnt, pradr, 2, (WORD []){word, adr}); adr 33 src/exec.c void setfr(WORD adr); adr 61 src/exec.c WORD get_adr_x(WORD adr, WORD oprx); adr 71 src/exec.c WORD get_val_adr_x(WORD adr, WORD oprx); adr 149 src/exec.c void setfr(WORD adr) adr 153 src/exec.c if((adr & 0x8000) == 0x8000) { adr 157 src/exec.c if(adr == 0x0) { adr 188 src/exec.c WORD get_adr_x(WORD adr, WORD oprx) adr 190 src/exec.c WORD a = adr; adr 199 src/exec.c WORD get_val_adr_x(WORD adr, WORD oprx) adr 204 src/exec.c if((a = get_adr_x(adr, oprx)) >= sys->memsize) { adr 80 src/label.c return (**(LABELARRAY **)a).adr - (**(LABELARRAY **)b).adr; adr 100 src/label.c return l->adr; adr 106 src/label.c bool addlabel(const char *prog, const char *label, WORD adr) adr 126 src/label.c l->adr = adr; adr 153 src/label.c fprintf(stdout, "%s ---> #%04X\n", l[i]->label, l[i]->adr); adr 13 src/monitor.c unsigned adrhash(WORD adr) adr 19 src/monitor.c key[0]->val.i = adr; adr 25 src/monitor.c bool getbps(WORD adr) adr 29 src/monitor.c for(p = bps[adrhash(adr)]; p != NULL; p = p->next) { adr 30 src/monitor.c if(p->adr == adr) { adr 37 src/monitor.c bool addbps(WORD adr) adr 43 src/monitor.c if(getbps(adr) == true) { adr 44 src/monitor.c fprintf(stderr, "%04X: Breakpoint is already defined.\n", adr); adr 50 src/monitor.c p->adr = adr; adr 52 src/monitor.c p->next = bps[h = adrhash(adr)]; adr 57 src/monitor.c bool delbps(WORD adr) adr 64 src/monitor.c p = bps[h = adrhash(adr)]; adr 66 src/monitor.c if(p->adr == adr) { adr 77 src/monitor.c if(q->adr == adr) { adr 97 src/monitor.c fprintf(stdout, "#%04X\n", p->adr);