gr 36 include/struct.h WORD gr[GRSIZE]; /**<汎用レジスタ */ gr 48 src/dump.c print_dumpword(sys->cpu->gr[i], execmode.logical); gr 107 src/exec.c sys->memory[sys->cpu->gr[1]] = sys->memory[sys->cpu->gr[2]] = 0x0; gr 115 src/exec.c if(sys->cpu->gr[1] + i > execptr->end) { gr 119 src/exec.c sys->memory[sys->cpu->gr[1] + i] = buf[i]; gr 121 src/exec.c sys->memory[sys->cpu->gr[2]] = i + 1; gr 130 src/exec.c for(i = 0; i < sys->memory[sys->cpu->gr[2]]; i++) { gr 131 src/exec.c if(sys->cpu->gr[1] + i > execptr->end) { gr 138 src/exec.c if(((w = sys->memory[sys->cpu->gr[1]+i]) >= 0x20 && w <= 0x7E) || /* JIS X 0201ラテン文字 */ gr 194 src/exec.c a += sys->cpu->gr[x]; gr 226 src/exec.c setfr(sys->cpu->gr[get_r_r1(w[0])] = get_val_adr_x(w[1], w[0])); gr 233 src/exec.c setfr(sys->cpu->gr[get_r_r1(w[0])] = sys->cpu->gr[get_x_r2(w[0])]); gr 240 src/exec.c sys->memory[get_adr_x(w[1], w[0])] = sys->cpu->gr[get_r_r1(w[0])]; gr 247 src/exec.c sys->cpu->gr[get_r_r1(w[0])] = get_adr_x(w[1], w[0]); gr 258 src/exec.c if((tmp = (short)(sys->cpu->gr[r]) + (short)val) > 32767 || tmp < -32768) { gr 262 src/exec.c sys->cpu->gr[r] = (WORD)(tmp & 0xFFFF); gr 263 src/exec.c if((sys->cpu->gr[r] & 0x8000) == 0x8000) { gr 265 src/exec.c } else if(sys->cpu->gr[r] == 0x0) { gr 280 src/exec.c adda(get_r_r1(w[0]), sys->cpu->gr[get_x_r2(w[0])]); gr 294 src/exec.c adda(get_r_r1(w[0]), ~(sys->cpu->gr[get_x_r2(w[0])]) + 1); gr 303 src/exec.c o = sys->cpu->gr[r]; gr 320 src/exec.c sys->cpu->gr[r] = (WORD)s; gr 340 src/exec.c addl_gr(get_r_r1(w[0]), sys->cpu->gr[get_x_r2(w[0])], true); gr 354 src/exec.c addl_gr(get_r_r1(w[0]), sys->cpu->gr[get_x_r2(w[0])], false); gr 361 src/exec.c setfr(sys->cpu->gr[get_r_r1(w[0])] &= get_val_adr_x(w[1], w[0])); gr 368 src/exec.c setfr(sys->cpu->gr[get_r_r1(w[0])] &= sys->cpu->gr[get_x_r2(w[0])]); gr 375 src/exec.c setfr(sys->cpu->gr[get_r_r1(w[0])] |= get_val_adr_x(w[1], w[0])); gr 382 src/exec.c setfr(sys->cpu->gr[get_r_r1(w[0])] |= sys->cpu->gr[get_x_r2(w[0])]); gr 389 src/exec.c setfr(sys->cpu->gr[get_r_r1(w[0])] ^= get_val_adr_x(w[1], w[0])); gr 396 src/exec.c setfr(sys->cpu->gr[get_r_r1(w[0])] ^= sys->cpu->gr[get_x_r2(w[0])]); gr 403 src/exec.c if((short)sys->cpu->gr[r] < (short)val) { gr 405 src/exec.c } else if(sys->cpu->gr[r] == val) { gr 420 src/exec.c cpa(get_r_r1(w[0]), sys->cpu->gr[get_x_r2(w[0])]); gr 427 src/exec.c if(sys->cpu->gr[r] < val) { gr 429 src/exec.c } else if(sys->cpu->gr[r] == val) { gr 444 src/exec.c cpl(get_r_r1(w[0]), sys->cpu->gr[get_x_r2(w[0])]); gr 452 src/exec.c WORD sign = sys->cpu->gr[r] & 0x8000; gr 456 src/exec.c sys->cpu->gr[r] &= 0x7FFF; gr 458 src/exec.c last = sys->cpu->gr[r] & 0x4000; gr 459 src/exec.c sys->cpu->gr[r] <<= 1; gr 461 src/exec.c sys->cpu->gr[r] = sign | (sys->cpu->gr[r] & 0x7FFF); gr 471 src/exec.c if(sys->cpu->gr[r] == 0x0) { gr 481 src/exec.c WORD sign = sys->cpu->gr[r] & 0x8000; gr 485 src/exec.c sys->cpu->gr[r] &= 0x7FFF; gr 487 src/exec.c last = sys->cpu->gr[r] & 0x1; gr 488 src/exec.c sys->cpu->gr[r] >>= 1; gr 490 src/exec.c sys->cpu->gr[r] |= 0x4000; gr 493 src/exec.c sys->cpu->gr[r] = sign | sys->cpu->gr[r]; gr 503 src/exec.c if(sys->cpu->gr[r] == 0x0) { gr 517 src/exec.c last = sys->cpu->gr[r] & 0x8000; gr 518 src/exec.c sys->cpu->gr[r] <<= 1; gr 525 src/exec.c if((sys->cpu->gr[r] & 0x8000) > 0x0) { gr 529 src/exec.c if(sys->cpu->gr[r] == 0x0) { gr 543 src/exec.c last = sys->cpu->gr[r] & 0x0001; gr 544 src/exec.c sys->cpu->gr[r] >>= 1; gr 551 src/exec.c if((sys->cpu->gr[r] & 0x8000) > 0x0) { gr 555 src/exec.c if(sys->cpu->gr[r] == 0x0) { gr 635 src/exec.c sys->cpu->gr[get_r_r1(w[0])] = sys->memory[(sys->cpu->sp)++]; gr 265 src/struct.c sys->cpu->gr[i] = 0x0;