<!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>sp</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#L37'>sp</a> 37 include/struct.h WORD sp; /**<スタックポインタ */</span> <span class='curline'><a href='../S/2840.html#L40'>sp</a> 40 src/dump.c char *sp = word2bit(sys->cpu->sp);</span> <span class='curline'><a href='../S/2840.html#L51'>sp</a> 51 src/dump.c fprintf(stdout, "#%04X: SP: %6d = #%04X = %s\n", sys->cpu->pr, sys->cpu->sp, sys->cpu->sp, sp);</span> <span class='curline'><a href='../S/2840.html#L54'>sp</a> 54 src/dump.c FREE(sp);</span> <span class='curline'><a href='../S/2812.html#L619'>sp</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#L621'>sp</a> 621 src/exec.c sys->memory[--(sys->cpu->sp)] = get_adr_x(w[1], w[0]);</span> <span class='curline'><a href='../S/2812.html#L627'>sp</a> 627 src/exec.c assert(sys->cpu->sp > execptr->end);</span> <span class='curline'><a href='../S/2812.html#L631'>sp</a> 631 src/exec.c if(sys->cpu->sp >= sys->memsize) {</span> <span class='curline'><a href='../S/2812.html#L635'>sp</a> 635 src/exec.c sys->cpu->gr[get_r_r1(w[0])] = sys->memory[(sys->cpu->sp)++];</span> <span class='curline'><a href='../S/2812.html#L642'>sp</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#L644'>sp</a> 644 src/exec.c sys->memory[--(sys->cpu->sp)] = sys->cpu->pr + 1;</span> <span class='curline'><a href='../S/2812.html#L650'>sp</a> 650 src/exec.c assert(sys->cpu->sp <= sys->memsize);</span> <span class='curline'><a href='../S/2812.html#L651'>sp</a> 651 src/exec.c if(sys->cpu->sp == sys->memsize) {</span> <span class='curline'><a href='../S/2812.html#L653'>sp</a> 653 src/exec.c } else if(sys->cpu->sp < sys->memsize) {</span> <span class='curline'><a href='../S/2812.html#L654'>sp</a> 654 src/exec.c sys->cpu->pr = sys->memory[(sys->cpu->sp)++] + 1;</span> <span class='curline'><a href='../S/2812.html#L719'>sp</a> 719 src/exec.c if(sys->cpu->sp <= execptr->end) {</span> <span class='curline'><a href='../S/2856.html#L267'>sp</a> 267 src/struct.c sys->cpu->sp = sys->memsize; /* スタックポインタ */</span> </pre> </body> </html>