w 128 src/exec.c WORD w; w 138 src/exec.c if(((w = sys->memory[sys->cpu->gr[1]+i]) >= 0x20 && w <= 0x7E) || /* JIS X 0201ラテン文字 */ w 139 src/exec.c (w >= 0xA0 && w <= 0xFE) || /* JIS X 0201片仮名用8ビット符号 */ w 140 src/exec.c w == 0xA || w == '\t') w 142 src/exec.c putchar((char)w); w 225 src/exec.c WORD w[] = {sys->memory[sys->cpu->pr], sys->memory[sys->cpu->pr + 1]}; w 226 src/exec.c setfr(sys->cpu->gr[get_r_r1(w[0])] = get_val_adr_x(w[1], w[0])); w 232 src/exec.c WORD w[] = {sys->memory[sys->cpu->pr]}; w 233 src/exec.c setfr(sys->cpu->gr[get_r_r1(w[0])] = sys->cpu->gr[get_x_r2(w[0])]); w 239 src/exec.c WORD w[] = {sys->memory[sys->cpu->pr], sys->memory[sys->cpu->pr + 1]}; w 240 src/exec.c sys->memory[get_adr_x(w[1], w[0])] = sys->cpu->gr[get_r_r1(w[0])]; w 246 src/exec.c WORD w[] = {sys->memory[sys->cpu->pr], sys->memory[sys->cpu->pr + 1]}; w 247 src/exec.c sys->cpu->gr[get_r_r1(w[0])] = get_adr_x(w[1], w[0]); w 272 src/exec.c WORD w[] = {sys->memory[sys->cpu->pr], sys->memory[sys->cpu->pr + 1]}; w 273 src/exec.c adda(get_r_r1(w[0]), get_val_adr_x(w[1], w[0])); w 279 src/exec.c WORD w[] = {sys->memory[sys->cpu->pr]}; w 280 src/exec.c adda(get_r_r1(w[0]), sys->cpu->gr[get_x_r2(w[0])]); w 286 src/exec.c WORD w[] = {sys->memory[sys->cpu->pr], sys->memory[sys->cpu->pr + 1]}; w 287 src/exec.c adda(get_r_r1(w[0]), ~(get_val_adr_x(w[1], w[0])) + 1); w 293 src/exec.c WORD w[] = {sys->memory[sys->cpu->pr]}; w 294 src/exec.c adda(get_r_r1(w[0]), ~(sys->cpu->gr[get_x_r2(w[0])]) + 1); w 332 src/exec.c WORD w[] = {sys->memory[sys->cpu->pr], sys->memory[sys->cpu->pr + 1]}; w 333 src/exec.c addl_gr(get_r_r1(w[0]), get_val_adr_x(w[1], w[0]), true); w 339 src/exec.c WORD w[] = {sys->memory[sys->cpu->pr]}; w 340 src/exec.c addl_gr(get_r_r1(w[0]), sys->cpu->gr[get_x_r2(w[0])], true); w 346 src/exec.c WORD w[] = {sys->memory[sys->cpu->pr], sys->memory[sys->cpu->pr + 1]}; w 347 src/exec.c addl_gr(get_r_r1(w[0]), get_val_adr_x(w[1], w[0]), false); w 353 src/exec.c WORD w[] = {sys->memory[sys->cpu->pr]}; w 354 src/exec.c addl_gr(get_r_r1(w[0]), sys->cpu->gr[get_x_r2(w[0])], false); w 360 src/exec.c WORD w[] = {sys->memory[sys->cpu->pr], sys->memory[sys->cpu->pr + 1]}; w 361 src/exec.c setfr(sys->cpu->gr[get_r_r1(w[0])] &= get_val_adr_x(w[1], w[0])); w 367 src/exec.c WORD w[] = {sys->memory[sys->cpu->pr]}; w 368 src/exec.c setfr(sys->cpu->gr[get_r_r1(w[0])] &= sys->cpu->gr[get_x_r2(w[0])]); w 374 src/exec.c WORD w[] = {sys->memory[sys->cpu->pr], sys->memory[sys->cpu->pr + 1]}; w 375 src/exec.c setfr(sys->cpu->gr[get_r_r1(w[0])] |= get_val_adr_x(w[1], w[0])); w 381 src/exec.c WORD w[] = {sys->memory[sys->cpu->pr]}; w 382 src/exec.c setfr(sys->cpu->gr[get_r_r1(w[0])] |= sys->cpu->gr[get_x_r2(w[0])]); w 388 src/exec.c WORD w[] = {sys->memory[sys->cpu->pr], sys->memory[sys->cpu->pr + 1]}; w 389 src/exec.c setfr(sys->cpu->gr[get_r_r1(w[0])] ^= get_val_adr_x(w[1], w[0])); w 395 src/exec.c WORD w[] = {sys->memory[sys->cpu->pr]}; w 396 src/exec.c setfr(sys->cpu->gr[get_r_r1(w[0])] ^= sys->cpu->gr[get_x_r2(w[0])]); w 412 src/exec.c WORD w[] = {sys->memory[sys->cpu->pr], sys->memory[sys->cpu->pr + 1]}; w 413 src/exec.c cpa(get_r_r1(w[0]), get_val_adr_x(w[1], w[0])); w 419 src/exec.c WORD w[] = {sys->memory[sys->cpu->pr]}; w 420 src/exec.c cpa(get_r_r1(w[0]), sys->cpu->gr[get_x_r2(w[0])]); w 436 src/exec.c WORD w[] = {sys->memory[sys->cpu->pr], sys->memory[sys->cpu->pr + 1]}; w 437 src/exec.c cpl(get_r_r1(w[0]), get_val_adr_x(w[1], w[0])); w 443 src/exec.c WORD w[] = {sys->memory[sys->cpu->pr]}; w 444 src/exec.c cpl(get_r_r1(w[0]), sys->cpu->gr[get_x_r2(w[0])]); w 450 src/exec.c WORD w[] = {sys->memory[sys->cpu->pr], sys->memory[sys->cpu->pr + 1]}; w 451 src/exec.c WORD r = get_r_r1(w[0]); w 457 src/exec.c for(int i = 0; i < get_adr_x(w[1], w[0]); i++) { w 479 src/exec.c WORD w[] = {sys->memory[sys->cpu->pr], sys->memory[sys->cpu->pr + 1]}; w 480 src/exec.c WORD r = get_r_r1(w[0]); w 486 src/exec.c for(int i = 0; i < get_adr_x(w[1], w[0]); i++) { w 511 src/exec.c WORD w[] = {sys->memory[sys->cpu->pr], sys->memory[sys->cpu->pr + 1]}; w 513 src/exec.c WORD r = get_r_r1(w[0]); w 516 src/exec.c for(int i = 0; i < get_adr_x(w[1], w[0]); i++) { w 537 src/exec.c WORD w[] = {sys->memory[sys->cpu->pr], sys->memory[sys->cpu->pr + 1]}; w 539 src/exec.c WORD r = get_r_r1(w[0]); w 542 src/exec.c for(int i = 0; i < get_adr_x(w[1], w[0]); i++) { w 563 src/exec.c WORD w[] = {sys->memory[sys->cpu->pr], sys->memory[sys->cpu->pr + 1]}; w 565 src/exec.c sys->cpu->pr = get_adr_x(w[1], w[0]); w 573 src/exec.c WORD w[] = {sys->memory[sys->cpu->pr], sys->memory[sys->cpu->pr + 1]}; w 575 src/exec.c sys->cpu->pr = get_adr_x(w[1], w[0]); w 583 src/exec.c WORD w[] = {sys->memory[sys->cpu->pr], sys->memory[sys->cpu->pr + 1]}; w 585 src/exec.c sys->cpu->pr = get_adr_x(w[1], w[0]); w 593 src/exec.c WORD w[] = {sys->memory[sys->cpu->pr], sys->memory[sys->cpu->pr + 1]}; w 595 src/exec.c sys->cpu->pr = get_adr_x(w[1], w[0]); w 603 src/exec.c WORD w[] = {sys->memory[sys->cpu->pr], sys->memory[sys->cpu->pr + 1]}; w 605 src/exec.c sys->cpu->pr = get_adr_x(w[1], w[0]); w 613 src/exec.c WORD w[] = {sys->memory[sys->cpu->pr], sys->memory[sys->cpu->pr + 1]}; w 614 src/exec.c sys->cpu->pr = get_adr_x(w[1], w[0]); w 620 src/exec.c WORD w[] = {sys->memory[sys->cpu->pr], sys->memory[sys->cpu->pr + 1]}; w 621 src/exec.c sys->memory[--(sys->cpu->sp)] = get_adr_x(w[1], w[0]); w 628 src/exec.c WORD w[] = {sys->memory[sys->cpu->pr]}; w 635 src/exec.c sys->cpu->gr[get_r_r1(w[0])] = sys->memory[(sys->cpu->sp)++]; w 643 src/exec.c WORD w[] = {sys->memory[sys->cpu->pr], sys->memory[sys->cpu->pr + 1]}; w 645 src/exec.c sys->cpu->pr = get_adr_x(w[1], w[0]); w 660 src/exec.c WORD w[] = {sys->memory[sys->cpu->pr], sys->memory[sys->cpu->pr + 1]}; w 661 src/exec.c switch(get_adr_x(w[1], w[0])) w 210 src/monitor.c WORD w; w 221 src/monitor.c if((w = nh2word(argv[1])) == 0x0) { w 227 src/monitor.c if(addbps(w) == true) { w 228 src/monitor.c fprintf(stdout, "#%04X: breakpoint added\n", w); w 234 src/monitor.c if(delbps(w) == true) { w 235 src/monitor.c fprintf(stdout, "#%04X: breakpoint deleted\n", w); w 156 src/struct.c WORD w = 0xFFFF; w 161 src/struct.c w = p->cmd->code; w 165 src/struct.c return w; w 51 src/word.c WORD w = 0; w 59 src/word.c w = (WORD)strtol(str, &check, 16); w 64 src/word.c return w; w 84 src/word.c WORD w; w 95 src/word.c w = h2word(str); w 97 src/word.c w = n2word(str); w 99 src/word.c return w; w 12 test/system/comet2_err/err_204/create_a.c const WORD w[] = {0x1010, 0x0005, 0x2810, 0x0006, 0x8100, 0x0003, 0x0001}; w 19 test/system/comet2_err/err_204/create_a.c fwrite(w, sizeof(WORD), ARRAYSIZE(w), fp); w 12 test/system/comet2_err/err_205/create_a.c const WORD w[] = {0x1010, 0x0005, 0x22f0, 0x0006, 0x8100, 0x0003, 0x0001}; w 19 test/system/comet2_err/err_205/create_a.c fwrite(w, sizeof(WORD), ARRAYSIZE(w), fp); w 12 test/system/comet2_err/err_206/create_a.c const WORD w[] = {0x1010, 0x0005, 0x220f, 0x0006, 0x8100, 0x0003, 0x0001}; w 19 test/system/comet2_err/err_206/create_a.c fwrite(w, sizeof(WORD), ARRAYSIZE(w), fp); w 12 test/system/comet2_smoke/direct/create_a.c const WORD w[] = {0x1010, 0x0005, 0x2210, 0x0006, 0x8100, 0x0003, 0x0001}; w 19 test/system/comet2_smoke/direct/create_a.c fwrite(w, sizeof(WORD), ARRAYSIZE(w), fp); w 6 test/unit/bpshash/cmd.c WORD w[10] ={0, 1, 2, 3, 10, 250, 251, 254, 0x8FFF, 65535}; w 8 test/unit/bpshash/cmd.c printf("%ld: %d\n", (long)w[i], adrhash(w[i]));