r 339 src/assemble.c WORD r = 0; r 348 src/assemble.c r = (WORD)(str[2] - '0'); r 350 src/assemble.c if(is_x == true && r == 0x0) { r 354 src/assemble.c return r; r 164 src/exec.c WORD r = 0; r 167 src/exec.c if((r = ((oprx & 0x00F0) >>4)) > GRSIZE - 1) { r 172 src/exec.c return r; r 251 src/exec.c void adda(WORD r, WORD val) r 258 src/exec.c if((tmp = (short)(sys->cpu->gr[r]) + (short)val) > 32767 || tmp < -32768) { r 262 src/exec.c sys->cpu->gr[r] = (WORD)(tmp & 0xFFFF); r 263 src/exec.c if((sys->cpu->gr[r] & 0x8000) == 0x8000) { r 265 src/exec.c } else if(sys->cpu->gr[r] == 0x0) { r 298 src/exec.c void addl_gr(WORD r, WORD val, bool add) r 303 src/exec.c o = sys->cpu->gr[r]; r 320 src/exec.c sys->cpu->gr[r] = (WORD)s; r 400 src/exec.c void cpa(WORD r, WORD val) r 403 src/exec.c if((short)sys->cpu->gr[r] < (short)val) { r 405 src/exec.c } else if(sys->cpu->gr[r] == val) { r 424 src/exec.c void cpl(WORD r, WORD val) r 427 src/exec.c if(sys->cpu->gr[r] < val) { r 429 src/exec.c } else if(sys->cpu->gr[r] == val) { r 451 src/exec.c WORD r = get_r_r1(w[0]); r 452 src/exec.c WORD sign = sys->cpu->gr[r] & 0x8000; r 456 src/exec.c sys->cpu->gr[r] &= 0x7FFF; r 458 src/exec.c last = sys->cpu->gr[r] & 0x4000; r 459 src/exec.c sys->cpu->gr[r] <<= 1; r 461 src/exec.c sys->cpu->gr[r] = sign | (sys->cpu->gr[r] & 0x7FFF); r 471 src/exec.c if(sys->cpu->gr[r] == 0x0) { r 480 src/exec.c WORD r = get_r_r1(w[0]); r 481 src/exec.c WORD sign = sys->cpu->gr[r] & 0x8000; r 485 src/exec.c sys->cpu->gr[r] &= 0x7FFF; r 487 src/exec.c last = sys->cpu->gr[r] & 0x1; r 488 src/exec.c sys->cpu->gr[r] >>= 1; r 490 src/exec.c sys->cpu->gr[r] |= 0x4000; r 493 src/exec.c sys->cpu->gr[r] = sign | sys->cpu->gr[r]; r 503 src/exec.c if(sys->cpu->gr[r] == 0x0) { r 513 src/exec.c WORD r = get_r_r1(w[0]); r 517 src/exec.c last = sys->cpu->gr[r] & 0x8000; r 518 src/exec.c sys->cpu->gr[r] <<= 1; r 525 src/exec.c if((sys->cpu->gr[r] & 0x8000) > 0x0) { r 529 src/exec.c if(sys->cpu->gr[r] == 0x0) { r 539 src/exec.c WORD r = get_r_r1(w[0]); r 543 src/exec.c last = sys->cpu->gr[r] & 0x0001; r 544 src/exec.c sys->cpu->gr[r] >>= 1; r 551 src/exec.c if((sys->cpu->gr[r] & 0x8000) > 0x0) { r 555 src/exec.c if(sys->cpu->gr[r] == 0x0) { r 10 test/unit/getgr/cmd.c WORD r; r 29 test/unit/getgr/cmd.c r = getgr(str[j], is_x[i]); r 30 test/unit/getgr/cmd.c printf("%s\t#%04X", str[j], r); r 8 test/unit/nh2word/cmd.c WORD r; r 19 test/unit/nh2word/cmd.c r = nh2word(str[i]); r 20 test/unit/nh2word/cmd.c printf("%s\t#%04X", str[i], r);