<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'> <html xmlns='http://www.w3.org/1999/xhtml'> <head> <title>adr</title> <meta name='robots' content='noindex,nofollow' /> <meta name='generator' content='GLOBAL-6.6.5' /> <meta http-equiv='Content-Style-Type' content='text/css' /> <link rel='stylesheet' type='text/css' href='../style.css' /> </head> <body> <pre> <span class='curline'><a href='../S/2413.html#L51'>adr</a> 51 include/assemble.h WORD adr; /**<アドレス */</span> <span class='curline'><a href='../S/2413.html#L103'>adr</a> 103 include/assemble.h bool addlabel(const char *prog, const char *label, WORD adr);</span> <span class='curline'><a href='../S/2413.html#L147'>adr</a> 147 include/assemble.h bool assemble(int filec, char *filev[], WORD adr);</span> <span class='curline'><a href='../S/2419.html#L39'>adr</a> 39 include/monitor.h WORD adr; /**<アドレス */</span> <span class='curline'><a href='../S/2419.html#L66'>adr</a> 66 include/monitor.h unsigned adrhash(WORD adr);</span> <span class='curline'><a href='../S/2419.html#L103'>adr</a> 103 include/monitor.h bool getbps(WORD adr);</span> <span class='curline'><a href='../S/2419.html#L112'>adr</a> 112 include/monitor.h bool addbps(WORD adr);</span> <span class='curline'><a href='../S/2419.html#L122'>adr</a> 122 include/monitor.h bool delbps(WORD adr);</span> <span class='curline'><a href='../S/2837.html#L61'>adr</a> 61 src/assemble.c void writememory(WORD word, WORD adr, PASS pass);</span> <span class='curline'><a href='../S/2837.html#L321'>adr</a> 321 src/assemble.c WORD adr = 0;</span> <span class='curline'><a href='../S/2837.html#L324'>adr</a> 324 src/assemble.c adr = getliteral(str, pass);</span> <span class='curline'><a href='../S/2837.html#L326'>adr</a> 326 src/assemble.c adr = nh2word(str);</span> <span class='curline'><a href='../S/2837.html#L329'>adr</a> 329 src/assemble.c if((adr = getlabel(prog, str)) == 0xFFFF) {</span> <span class='curline'><a href='../S/2837.html#L334'>adr</a> 334 src/assemble.c return adr;</span> <span class='curline'><a href='../S/2837.html#L360'>adr</a> 360 src/assemble.c WORD adr = asptr->lptr;</span> <span class='curline'><a href='../S/2837.html#L368'>adr</a> 368 src/assemble.c return adr;</span> <span class='curline'><a href='../S/2837.html#L371'>adr</a> 371 src/assemble.c void writememory(WORD word, WORD adr, PASS pass)</span> <span class='curline'><a href='../S/2837.html#L376'>adr</a> 376 src/assemble.c if(adr >= sys->memsize) {</span> <span class='curline'><a href='../S/2837.html#L377'>adr</a> 377 src/assemble.c setcerr(119, (n = word2n(adr))); /* out of COMET II memory */</span> <span class='curline'><a href='../S/2837.html#L381'>adr</a> 381 src/assemble.c (sys->memory)[adr] = word;</span> <span class='curline'><a href='../S/2837.html#L383'>adr</a> 383 src/assemble.c fprintf(stdout, "\t#%04X\t#%04X\n", adr, word);</span> <span class='curline'><a href='../S/2837.html#L415'>adr</a> 415 src/assemble.c WORD adr = 0;</span> <span class='curline'><a href='../S/2837.html#L421'>adr</a> 421 src/assemble.c adr = nh2word(str);</span> <span class='curline'><a href='../S/2837.html#L423'>adr</a> 423 src/assemble.c if(pass == SECOND && (adr = getlabel(asptr->prog, str)) == 0xFFFF) {</span> <span class='curline'><a href='../S/2837.html#L427'>adr</a> 427 src/assemble.c writememory(adr, (asptr->ptr)++, pass);</span> <span class='curline'><a href='../S/2837.html#L586'>adr</a> 586 src/assemble.c WORD adr = 0;</span> <span class='curline'><a href='../S/2837.html#L632'>adr</a> 632 src/assemble.c adr = getadr(asptr->prog, cmdl->opd->opdv[1], pass); /* 第2オペランドはアドレス */</span> <span class='curline'><a href='../S/2837.html#L635'>adr</a> 635 src/assemble.c writememory(adr, (asptr->ptr)++, pass);</span> <span class='curline'><a href='../S/2837.html#L659'>adr</a> 659 src/assemble.c adr = getlabel("", cmdl->opd->opdv[0]);</span> <span class='curline'><a href='../S/2837.html#L661'>adr</a> 661 src/assemble.c if(cmd != 0x8000 || (pass == SECOND && adr == 0xFFFF)) {</span> <span class='curline'><a href='../S/2837.html#L662'>adr</a> 662 src/assemble.c adr = getadr(asptr->prog, cmdl->opd->opdv[0], pass);</span> <span class='curline'><a href='../S/2837.html#L666'>adr</a> 666 src/assemble.c writememory(adr, (asptr->ptr)++, pass);</span> <span class='curline'><a href='../S/2837.html#L751'>adr</a> 751 src/assemble.c bool assemble(int filec, char *filev[], WORD adr)</span> <span class='curline'><a href='../S/2837.html#L760'>adr</a> 760 src/assemble.c asptr->ptr = adr;</span> <span class='curline'><a href='../S/2810.html#L58'>adr</a> 58 src/disassemble.c void disassemble_cmd_adr_x(CMDTYPE cmdtype, const char *cmdname, WORD word, WORD adr, WORD pradr);</span> <span class='curline'><a href='../S/2810.html#L93'>adr</a> 93 src/disassemble.c void disassemble_cmd_adr_x(CMDTYPE cmdtype, const char *cmdname, WORD word, WORD adr, WORD pradr)</span> <span class='curline'><a href='../S/2810.html#L104'>adr</a> 104 src/disassemble.c cnt += fprintf(stdout, "#%04X", adr);</span> <span class='curline'><a href='../S/2810.html#L109'>adr</a> 109 src/disassemble.c disassemble_puts_code(cnt, pradr, 2, (WORD []){word, adr});</span> <span class='curline'><a href='../S/2812.html#L33'>adr</a> 33 src/exec.c void setfr(WORD adr);</span> <span class='curline'><a href='../S/2812.html#L61'>adr</a> 61 src/exec.c WORD get_adr_x(WORD adr, WORD oprx);</span> <span class='curline'><a href='../S/2812.html#L71'>adr</a> 71 src/exec.c WORD get_val_adr_x(WORD adr, WORD oprx);</span> <span class='curline'><a href='../S/2812.html#L149'>adr</a> 149 src/exec.c void setfr(WORD adr)</span> <span class='curline'><a href='../S/2812.html#L153'>adr</a> 153 src/exec.c if((adr & 0x8000) == 0x8000) {</span> <span class='curline'><a href='../S/2812.html#L157'>adr</a> 157 src/exec.c if(adr == 0x0) {</span> <span class='curline'><a href='../S/2812.html#L188'>adr</a> 188 src/exec.c WORD get_adr_x(WORD adr, WORD oprx)</span> <span class='curline'><a href='../S/2812.html#L190'>adr</a> 190 src/exec.c WORD a = adr;</span> <span class='curline'><a href='../S/2812.html#L199'>adr</a> 199 src/exec.c WORD get_val_adr_x(WORD adr, WORD oprx)</span> <span class='curline'><a href='../S/2812.html#L204'>adr</a> 204 src/exec.c if((a = get_adr_x(adr, oprx)) >= sys->memsize) {</span> <span class='curline'><a href='../S/2836.html#L80'>adr</a> 80 src/label.c return (**(LABELARRAY **)a).adr - (**(LABELARRAY **)b).adr;</span> <span class='curline'><a href='../S/2836.html#L100'>adr</a> 100 src/label.c return l->adr;</span> <span class='curline'><a href='../S/2836.html#L106'>adr</a> 106 src/label.c bool addlabel(const char *prog, const char *label, WORD adr)</span> <span class='curline'><a href='../S/2836.html#L126'>adr</a> 126 src/label.c l->adr = adr;</span> <span class='curline'><a href='../S/2836.html#L153'>adr</a> 153 src/label.c fprintf(stdout, "%s ---> #%04X\n", l[i]->label, l[i]->adr);</span> <span class='curline'><a href='../S/2804.html#L13'>adr</a> 13 src/monitor.c unsigned adrhash(WORD adr)</span> <span class='curline'><a href='../S/2804.html#L19'>adr</a> 19 src/monitor.c key[0]->val.i = adr;</span> <span class='curline'><a href='../S/2804.html#L25'>adr</a> 25 src/monitor.c bool getbps(WORD adr)</span> <span class='curline'><a href='../S/2804.html#L29'>adr</a> 29 src/monitor.c for(p = bps[adrhash(adr)]; p != NULL; p = p->next) {</span> <span class='curline'><a href='../S/2804.html#L30'>adr</a> 30 src/monitor.c if(p->adr == adr) {</span> <span class='curline'><a href='../S/2804.html#L37'>adr</a> 37 src/monitor.c bool addbps(WORD adr)</span> <span class='curline'><a href='../S/2804.html#L43'>adr</a> 43 src/monitor.c if(getbps(adr) == true) {</span> <span class='curline'><a href='../S/2804.html#L44'>adr</a> 44 src/monitor.c fprintf(stderr, "%04X: Breakpoint is already defined.\n", adr);</span> <span class='curline'><a href='../S/2804.html#L50'>adr</a> 50 src/monitor.c p->adr = adr;</span> <span class='curline'><a href='../S/2804.html#L52'>adr</a> 52 src/monitor.c p->next = bps[h = adrhash(adr)];</span> <span class='curline'><a href='../S/2804.html#L57'>adr</a> 57 src/monitor.c bool delbps(WORD adr)</span> <span class='curline'><a href='../S/2804.html#L64'>adr</a> 64 src/monitor.c p = bps[h = adrhash(adr)];</span> <span class='curline'><a href='../S/2804.html#L66'>adr</a> 66 src/monitor.c if(p->adr == adr) {</span> <span class='curline'><a href='../S/2804.html#L77'>adr</a> 77 src/monitor.c if(q->adr == adr) {</span> <span class='curline'><a href='../S/2804.html#L97'>adr</a> 97 src/monitor.c fprintf(stdout, "#%04X\n", p->adr);</span> </pre> </body> </html>