root/doc_inner/gnu_global/Y/113.html

/* [<][>][^][v][top][bottom][index][help] */
<!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>gr</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#L36'>gr</a>                 36 include/struct.h     WORD gr[GRSIZE]; /**&lt;汎用レジスタ */</span>
<span class='curline'><a href='../S/2840.html#L48'>gr</a>                 48 src/dump.c             print_dumpword(sys-&gt;cpu-&gt;gr[i], execmode.logical);</span>
<span class='curline'><a href='../S/2812.html#L107'>gr</a>                107 src/exec.c             sys-&gt;memory[sys-&gt;cpu-&gt;gr[1]] = sys-&gt;memory[sys-&gt;cpu-&gt;gr[2]] = 0x0;</span>
<span class='curline'><a href='../S/2812.html#L115'>gr</a>                115 src/exec.c             if(sys-&gt;cpu-&gt;gr[1] + i &gt; execptr-&gt;end) {</span>
<span class='curline'><a href='../S/2812.html#L119'>gr</a>                119 src/exec.c             sys-&gt;memory[sys-&gt;cpu-&gt;gr[1] + i] = buf[i];</span>
<span class='curline'><a href='../S/2812.html#L121'>gr</a>                121 src/exec.c         sys-&gt;memory[sys-&gt;cpu-&gt;gr[2]] = i + 1;</span>
<span class='curline'><a href='../S/2812.html#L130'>gr</a>                130 src/exec.c         for(i = 0; i &lt; sys-&gt;memory[sys-&gt;cpu-&gt;gr[2]]; i++) {</span>
<span class='curline'><a href='../S/2812.html#L131'>gr</a>                131 src/exec.c             if(sys-&gt;cpu-&gt;gr[1] + i &gt; execptr-&gt;end) {</span>
<span class='curline'><a href='../S/2812.html#L138'>gr</a>                138 src/exec.c             if(((w = sys-&gt;memory[sys-&gt;cpu-&gt;gr[1]+i]) &gt;= 0x20 &amp;&amp; w &lt;= 0x7E) ||    /* JIS X 0201ラテン文字 */</span>
<span class='curline'><a href='../S/2812.html#L194'>gr</a>                194 src/exec.c             a += sys-&gt;cpu-&gt;gr[x];</span>
<span class='curline'><a href='../S/2812.html#L226'>gr</a>                226 src/exec.c         setfr(sys-&gt;cpu-&gt;gr[get_r_r1(w[0])] = get_val_adr_x(w[1], w[0]));</span>
<span class='curline'><a href='../S/2812.html#L233'>gr</a>                233 src/exec.c         setfr(sys-&gt;cpu-&gt;gr[get_r_r1(w[0])] = sys-&gt;cpu-&gt;gr[get_x_r2(w[0])]);</span>
<span class='curline'><a href='../S/2812.html#L240'>gr</a>                240 src/exec.c         sys-&gt;memory[get_adr_x(w[1], w[0])] = sys-&gt;cpu-&gt;gr[get_r_r1(w[0])];</span>
<span class='curline'><a href='../S/2812.html#L247'>gr</a>                247 src/exec.c         sys-&gt;cpu-&gt;gr[get_r_r1(w[0])] = get_adr_x(w[1], w[0]);</span>
<span class='curline'><a href='../S/2812.html#L258'>gr</a>                258 src/exec.c         if((tmp = (short)(sys-&gt;cpu-&gt;gr[r]) + (short)val) &gt; 32767 || tmp &lt; -32768) {</span>
<span class='curline'><a href='../S/2812.html#L262'>gr</a>                262 src/exec.c         sys-&gt;cpu-&gt;gr[r] = (WORD)(tmp &amp; 0xFFFF);</span>
<span class='curline'><a href='../S/2812.html#L263'>gr</a>                263 src/exec.c         if((sys-&gt;cpu-&gt;gr[r] &amp; 0x8000) == 0x8000) {</span>
<span class='curline'><a href='../S/2812.html#L265'>gr</a>                265 src/exec.c         } else if(sys-&gt;cpu-&gt;gr[r] == 0x0) {</span>
<span class='curline'><a href='../S/2812.html#L280'>gr</a>                280 src/exec.c         adda(get_r_r1(w[0]), sys-&gt;cpu-&gt;gr[get_x_r2(w[0])]);</span>
<span class='curline'><a href='../S/2812.html#L294'>gr</a>                294 src/exec.c         adda(get_r_r1(w[0]), ~(sys-&gt;cpu-&gt;gr[get_x_r2(w[0])]) + 1);</span>
<span class='curline'><a href='../S/2812.html#L303'>gr</a>                303 src/exec.c         o = sys-&gt;cpu-&gt;gr[r];</span>
<span class='curline'><a href='../S/2812.html#L320'>gr</a>                320 src/exec.c         sys-&gt;cpu-&gt;gr[r] = (WORD)s;</span>
<span class='curline'><a href='../S/2812.html#L340'>gr</a>                340 src/exec.c         addl_gr(get_r_r1(w[0]), sys-&gt;cpu-&gt;gr[get_x_r2(w[0])], true);</span>
<span class='curline'><a href='../S/2812.html#L354'>gr</a>                354 src/exec.c         addl_gr(get_r_r1(w[0]), sys-&gt;cpu-&gt;gr[get_x_r2(w[0])], false);</span>
<span class='curline'><a href='../S/2812.html#L361'>gr</a>                361 src/exec.c         setfr(sys-&gt;cpu-&gt;gr[get_r_r1(w[0])] &amp;= get_val_adr_x(w[1], w[0]));</span>
<span class='curline'><a href='../S/2812.html#L368'>gr</a>                368 src/exec.c         setfr(sys-&gt;cpu-&gt;gr[get_r_r1(w[0])] &amp;= sys-&gt;cpu-&gt;gr[get_x_r2(w[0])]);</span>
<span class='curline'><a href='../S/2812.html#L375'>gr</a>                375 src/exec.c         setfr(sys-&gt;cpu-&gt;gr[get_r_r1(w[0])] |= get_val_adr_x(w[1], w[0]));</span>
<span class='curline'><a href='../S/2812.html#L382'>gr</a>                382 src/exec.c         setfr(sys-&gt;cpu-&gt;gr[get_r_r1(w[0])] |= sys-&gt;cpu-&gt;gr[get_x_r2(w[0])]);</span>
<span class='curline'><a href='../S/2812.html#L389'>gr</a>                389 src/exec.c         setfr(sys-&gt;cpu-&gt;gr[get_r_r1(w[0])] ^= get_val_adr_x(w[1], w[0]));</span>
<span class='curline'><a href='../S/2812.html#L396'>gr</a>                396 src/exec.c         setfr(sys-&gt;cpu-&gt;gr[get_r_r1(w[0])] ^= sys-&gt;cpu-&gt;gr[get_x_r2(w[0])]);</span>
<span class='curline'><a href='../S/2812.html#L403'>gr</a>                403 src/exec.c         if((short)sys-&gt;cpu-&gt;gr[r] &lt; (short)val) {</span>
<span class='curline'><a href='../S/2812.html#L405'>gr</a>                405 src/exec.c         } else if(sys-&gt;cpu-&gt;gr[r] == val) {</span>
<span class='curline'><a href='../S/2812.html#L420'>gr</a>                420 src/exec.c         cpa(get_r_r1(w[0]), sys-&gt;cpu-&gt;gr[get_x_r2(w[0])]);</span>
<span class='curline'><a href='../S/2812.html#L427'>gr</a>                427 src/exec.c         if(sys-&gt;cpu-&gt;gr[r] &lt; val) {</span>
<span class='curline'><a href='../S/2812.html#L429'>gr</a>                429 src/exec.c         } else if(sys-&gt;cpu-&gt;gr[r] == val) {</span>
<span class='curline'><a href='../S/2812.html#L444'>gr</a>                444 src/exec.c         cpl(get_r_r1(w[0]), sys-&gt;cpu-&gt;gr[get_x_r2(w[0])]);</span>
<span class='curline'><a href='../S/2812.html#L452'>gr</a>                452 src/exec.c         WORD sign = sys-&gt;cpu-&gt;gr[r] &amp; 0x8000;</span>
<span class='curline'><a href='../S/2812.html#L456'>gr</a>                456 src/exec.c         sys-&gt;cpu-&gt;gr[r] &amp;= 0x7FFF;</span>
<span class='curline'><a href='../S/2812.html#L458'>gr</a>                458 src/exec.c             last = sys-&gt;cpu-&gt;gr[r] &amp; 0x4000;</span>
<span class='curline'><a href='../S/2812.html#L459'>gr</a>                459 src/exec.c             sys-&gt;cpu-&gt;gr[r] &lt;&lt;= 1;</span>
<span class='curline'><a href='../S/2812.html#L461'>gr</a>                461 src/exec.c         sys-&gt;cpu-&gt;gr[r] = sign | (sys-&gt;cpu-&gt;gr[r] &amp; 0x7FFF);</span>
<span class='curline'><a href='../S/2812.html#L471'>gr</a>                471 src/exec.c         if(sys-&gt;cpu-&gt;gr[r] == 0x0) {</span>
<span class='curline'><a href='../S/2812.html#L481'>gr</a>                481 src/exec.c         WORD sign = sys-&gt;cpu-&gt;gr[r] &amp; 0x8000;</span>
<span class='curline'><a href='../S/2812.html#L485'>gr</a>                485 src/exec.c         sys-&gt;cpu-&gt;gr[r] &amp;= 0x7FFF;</span>
<span class='curline'><a href='../S/2812.html#L487'>gr</a>                487 src/exec.c             last = sys-&gt;cpu-&gt;gr[r] &amp; 0x1;</span>
<span class='curline'><a href='../S/2812.html#L488'>gr</a>                488 src/exec.c             sys-&gt;cpu-&gt;gr[r] &gt;&gt;= 1;</span>
<span class='curline'><a href='../S/2812.html#L490'>gr</a>                490 src/exec.c                 sys-&gt;cpu-&gt;gr[r] |= 0x4000;</span>
<span class='curline'><a href='../S/2812.html#L493'>gr</a>                493 src/exec.c         sys-&gt;cpu-&gt;gr[r] = sign | sys-&gt;cpu-&gt;gr[r];</span>
<span class='curline'><a href='../S/2812.html#L503'>gr</a>                503 src/exec.c         if(sys-&gt;cpu-&gt;gr[r] == 0x0) {</span>
<span class='curline'><a href='../S/2812.html#L517'>gr</a>                517 src/exec.c             last = sys-&gt;cpu-&gt;gr[r] &amp; 0x8000;</span>
<span class='curline'><a href='../S/2812.html#L518'>gr</a>                518 src/exec.c             sys-&gt;cpu-&gt;gr[r] &lt;&lt;= 1;</span>
<span class='curline'><a href='../S/2812.html#L525'>gr</a>                525 src/exec.c         if((sys-&gt;cpu-&gt;gr[r] &amp; 0x8000) &gt; 0x0) {</span>
<span class='curline'><a href='../S/2812.html#L529'>gr</a>                529 src/exec.c         if(sys-&gt;cpu-&gt;gr[r] == 0x0) {</span>
<span class='curline'><a href='../S/2812.html#L543'>gr</a>                543 src/exec.c             last = sys-&gt;cpu-&gt;gr[r] &amp; 0x0001;</span>
<span class='curline'><a href='../S/2812.html#L544'>gr</a>                544 src/exec.c             sys-&gt;cpu-&gt;gr[r] &gt;&gt;= 1;</span>
<span class='curline'><a href='../S/2812.html#L551'>gr</a>                551 src/exec.c         if((sys-&gt;cpu-&gt;gr[r] &amp; 0x8000) &gt; 0x0) {</span>
<span class='curline'><a href='../S/2812.html#L555'>gr</a>                555 src/exec.c         if(sys-&gt;cpu-&gt;gr[r] == 0x0) {</span>
<span class='curline'><a href='../S/2812.html#L635'>gr</a>                635 src/exec.c             sys-&gt;cpu-&gt;gr[get_r_r1(w[0])] = sys-&gt;memory[(sys-&gt;cpu-&gt;sp)++];</span>
<span class='curline'><a href='../S/2856.html#L265'>gr</a>                265 src/struct.c           sys-&gt;cpu-&gt;gr[i] = 0x0;</span>
</pre>
</body>
</html>

/* [<][>][^][v][top][bottom][index][help] */