<!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>memsize</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/2417.html#L48'>memsize</a> 48 include/struct.h int memsize; /**<メモリサイズ */</span> <span class='curline'><a href='../S/2417.html#L168'>memsize</a> 168 include/struct.h void reset(int memsize, int clocks);</span> <span class='curline'><a href='../S/2837.html#L376'>memsize</a> 376 src/assemble.c if(adr >= sys->memsize) {</span> <span class='curline'><a href='../S/2841.html#L76'>memsize</a> 76 src/casl2.c int memsize = DEFAULT_MEMSIZE;</span> <span class='curline'><a href='../S/2841.html#L135'>memsize</a> 135 src/casl2.c memsize = atoi(optarg);</span> <span class='curline'><a href='../S/2841.html#L160'>memsize</a> 160 src/casl2.c reset(memsize, clocks); /* 仮想マシンCOMET IIのリセット */</span> <span class='curline'><a href='../S/2835.html#L32'>memsize</a> 32 src/comet2.c int memsize = DEFAULT_MEMSIZE;</span> <span class='curline'><a href='../S/2835.html#L62'>memsize</a> 62 src/comet2.c memsize = atoi(optarg);</span> <span class='curline'><a href='../S/2835.html#L84'>memsize</a> 84 src/comet2.c reset(memsize, clocks); /* COMET II仮想マシンのリセット */</span> <span class='curline'><a href='../S/2825.html#L38'>memsize</a> 38 src/comet2monitor.c int memsize = DEFAULT_MEMSIZE;</span> <span class='curline'><a href='../S/2825.html#L56'>memsize</a> 56 src/comet2monitor.c memsize = atoi(optarg);</span> <span class='curline'><a href='../S/2825.html#L74'>memsize</a> 74 src/comet2monitor.c reset(memsize, clocks); /* COMET II仮想マシンのリセット */</span> <span class='curline'><a href='../S/2840.html#L10'>memsize</a> 10 src/dump.c if(end > sys->memsize) {</span> <span class='curline'><a href='../S/2840.html#L11'>memsize</a> 11 src/dump.c end = sys->memsize;</span> <span class='curline'><a href='../S/2840.html#L13'>memsize</a> 13 src/dump.c for(int i = 0; i < sys->memsize && i < col; i++) {</span> <span class='curline'><a href='../S/2812.html#L204'>memsize</a> 204 src/exec.c if((a = get_adr_x(adr, oprx)) >= sys->memsize) {</span> <span class='curline'><a href='../S/2812.html#L619'>memsize</a> 619 src/exec.c assert(sys->cpu->sp > execptr->end && sys->cpu->sp <= sys->memsize);</span> <span class='curline'><a href='../S/2812.html#L631'>memsize</a> 631 src/exec.c if(sys->cpu->sp >= sys->memsize) {</span> <span class='curline'><a href='../S/2812.html#L642'>memsize</a> 642 src/exec.c assert(sys->cpu->sp > execptr->end && sys->cpu->sp <= sys->memsize);</span> <span class='curline'><a href='../S/2812.html#L650'>memsize</a> 650 src/exec.c assert(sys->cpu->sp <= sys->memsize);</span> <span class='curline'><a href='../S/2812.html#L651'>memsize</a> 651 src/exec.c if(sys->cpu->sp == sys->memsize) {</span> <span class='curline'><a href='../S/2812.html#L653'>memsize</a> 653 src/exec.c } else if(sys->cpu->sp < sys->memsize) {</span> <span class='curline'><a href='../S/2812.html#L714'>memsize</a> 714 src/exec.c if(sys->cpu->pr >= sys->memsize) {</span> <span class='curline'><a href='../S/2852.html#L37'>memsize</a> 37 src/load.c end = start + fread(sys->memory + start, sizeof(WORD), sys->memsize - start, fp);</span> <span class='curline'><a href='../S/2852.html#L38'>memsize</a> 38 src/load.c if(end == sys->memsize) {</span> <span class='curline'><a href='../S/2804.html#L319'>memsize</a> 319 src/monitor.c reset(sys->memsize, sys->clocks); /* COMET II仮想マシンのリセット */</span> <span class='curline'><a href='../S/2856.html#L253'>memsize</a> 253 src/struct.c void reset(int memsize, int clocks)</span> <span class='curline'><a href='../S/2856.html#L257'>memsize</a> 257 src/struct.c sys->memsize = memsize;</span> <span class='curline'><a href='../S/2856.html#L261'>memsize</a> 261 src/struct.c sys->memory = calloc_chk(sys->memsize, sizeof(WORD), "memory");</span> <span class='curline'><a href='../S/2856.html#L267'>memsize</a> 267 src/struct.c sys->cpu->sp = sys->memsize; /* スタックポインタ */</span> </pre> </body> </html>