<!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]; /**<汎用レジスタ */</span> <span class='curline'><a href='../S/2840.html#L48'>gr</a> 48 src/dump.c print_dumpword(sys->cpu->gr[i], execmode.logical);</span> <span class='curline'><a href='../S/2812.html#L107'>gr</a> 107 src/exec.c sys->memory[sys->cpu->gr[1]] = sys->memory[sys->cpu->gr[2]] = 0x0;</span> <span class='curline'><a href='../S/2812.html#L115'>gr</a> 115 src/exec.c if(sys->cpu->gr[1] + i > execptr->end) {</span> <span class='curline'><a href='../S/2812.html#L119'>gr</a> 119 src/exec.c sys->memory[sys->cpu->gr[1] + i] = buf[i];</span> <span class='curline'><a href='../S/2812.html#L121'>gr</a> 121 src/exec.c sys->memory[sys->cpu->gr[2]] = i + 1;</span> <span class='curline'><a href='../S/2812.html#L130'>gr</a> 130 src/exec.c for(i = 0; i < sys->memory[sys->cpu->gr[2]]; i++) {</span> <span class='curline'><a href='../S/2812.html#L131'>gr</a> 131 src/exec.c if(sys->cpu->gr[1] + i > execptr->end) {</span> <span class='curline'><a href='../S/2812.html#L138'>gr</a> 138 src/exec.c if(((w = sys->memory[sys->cpu->gr[1]+i]) >= 0x20 && w <= 0x7E) || /* JIS X 0201ラテン文字 */</span> <span class='curline'><a href='../S/2812.html#L194'>gr</a> 194 src/exec.c a += sys->cpu->gr[x];</span> <span class='curline'><a href='../S/2812.html#L226'>gr</a> 226 src/exec.c setfr(sys->cpu->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->cpu->gr[get_r_r1(w[0])] = sys->cpu->gr[get_x_r2(w[0])]);</span> <span class='curline'><a href='../S/2812.html#L240'>gr</a> 240 src/exec.c sys->memory[get_adr_x(w[1], w[0])] = sys->cpu->gr[get_r_r1(w[0])];</span> <span class='curline'><a href='../S/2812.html#L247'>gr</a> 247 src/exec.c sys->cpu->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->cpu->gr[r]) + (short)val) > 32767 || tmp < -32768) {</span> <span class='curline'><a href='../S/2812.html#L262'>gr</a> 262 src/exec.c sys->cpu->gr[r] = (WORD)(tmp & 0xFFFF);</span> <span class='curline'><a href='../S/2812.html#L263'>gr</a> 263 src/exec.c if((sys->cpu->gr[r] & 0x8000) == 0x8000) {</span> <span class='curline'><a href='../S/2812.html#L265'>gr</a> 265 src/exec.c } else if(sys->cpu->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->cpu->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->cpu->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->cpu->gr[r];</span> <span class='curline'><a href='../S/2812.html#L320'>gr</a> 320 src/exec.c sys->cpu->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->cpu->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->cpu->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->cpu->gr[get_r_r1(w[0])] &= 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->cpu->gr[get_r_r1(w[0])] &= sys->cpu->gr[get_x_r2(w[0])]);</span> <span class='curline'><a href='../S/2812.html#L375'>gr</a> 375 src/exec.c setfr(sys->cpu->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->cpu->gr[get_r_r1(w[0])] |= sys->cpu->gr[get_x_r2(w[0])]);</span> <span class='curline'><a href='../S/2812.html#L389'>gr</a> 389 src/exec.c setfr(sys->cpu->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->cpu->gr[get_r_r1(w[0])] ^= sys->cpu->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->cpu->gr[r] < (short)val) {</span> <span class='curline'><a href='../S/2812.html#L405'>gr</a> 405 src/exec.c } else if(sys->cpu->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->cpu->gr[get_x_r2(w[0])]);</span> <span class='curline'><a href='../S/2812.html#L427'>gr</a> 427 src/exec.c if(sys->cpu->gr[r] < val) {</span> <span class='curline'><a href='../S/2812.html#L429'>gr</a> 429 src/exec.c } else if(sys->cpu->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->cpu->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->cpu->gr[r] & 0x8000;</span> <span class='curline'><a href='../S/2812.html#L456'>gr</a> 456 src/exec.c sys->cpu->gr[r] &= 0x7FFF;</span> <span class='curline'><a href='../S/2812.html#L458'>gr</a> 458 src/exec.c last = sys->cpu->gr[r] & 0x4000;</span> <span class='curline'><a href='../S/2812.html#L459'>gr</a> 459 src/exec.c sys->cpu->gr[r] <<= 1;</span> <span class='curline'><a href='../S/2812.html#L461'>gr</a> 461 src/exec.c sys->cpu->gr[r] = sign | (sys->cpu->gr[r] & 0x7FFF);</span> <span class='curline'><a href='../S/2812.html#L471'>gr</a> 471 src/exec.c if(sys->cpu->gr[r] == 0x0) {</span> <span class='curline'><a href='../S/2812.html#L481'>gr</a> 481 src/exec.c WORD sign = sys->cpu->gr[r] & 0x8000;</span> <span class='curline'><a href='../S/2812.html#L485'>gr</a> 485 src/exec.c sys->cpu->gr[r] &= 0x7FFF;</span> <span class='curline'><a href='../S/2812.html#L487'>gr</a> 487 src/exec.c last = sys->cpu->gr[r] & 0x1;</span> <span class='curline'><a href='../S/2812.html#L488'>gr</a> 488 src/exec.c sys->cpu->gr[r] >>= 1;</span> <span class='curline'><a href='../S/2812.html#L490'>gr</a> 490 src/exec.c sys->cpu->gr[r] |= 0x4000;</span> <span class='curline'><a href='../S/2812.html#L493'>gr</a> 493 src/exec.c sys->cpu->gr[r] = sign | sys->cpu->gr[r];</span> <span class='curline'><a href='../S/2812.html#L503'>gr</a> 503 src/exec.c if(sys->cpu->gr[r] == 0x0) {</span> <span class='curline'><a href='../S/2812.html#L517'>gr</a> 517 src/exec.c last = sys->cpu->gr[r] & 0x8000;</span> <span class='curline'><a href='../S/2812.html#L518'>gr</a> 518 src/exec.c sys->cpu->gr[r] <<= 1;</span> <span class='curline'><a href='../S/2812.html#L525'>gr</a> 525 src/exec.c if((sys->cpu->gr[r] & 0x8000) > 0x0) {</span> <span class='curline'><a href='../S/2812.html#L529'>gr</a> 529 src/exec.c if(sys->cpu->gr[r] == 0x0) {</span> <span class='curline'><a href='../S/2812.html#L543'>gr</a> 543 src/exec.c last = sys->cpu->gr[r] & 0x0001;</span> <span class='curline'><a href='../S/2812.html#L544'>gr</a> 544 src/exec.c sys->cpu->gr[r] >>= 1;</span> <span class='curline'><a href='../S/2812.html#L551'>gr</a> 551 src/exec.c if((sys->cpu->gr[r] & 0x8000) > 0x0) {</span> <span class='curline'><a href='../S/2812.html#L555'>gr</a> 555 src/exec.c if(sys->cpu->gr[r] == 0x0) {</span> <span class='curline'><a href='../S/2812.html#L635'>gr</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/2856.html#L265'>gr</a> 265 src/struct.c sys->cpu->gr[i] = 0x0;</span> </pre> </body> </html>