rQ 70 src/dps8/dps8_addrmods.c return GETHI (cpu.rQ); rQ 96 src/dps8/dps8_addrmods.c return GETLO (cpu.rQ); rQ 939 src/dps8/dps8_cpu.c cpu.rQ = 0; rQ 1555 src/dps8/dps8_cpu.h word36 rQ; // quotient rQ 344 src/dps8/dps8_eis.c return GETHI (cpu.rQ); rQ 359 src/dps8/dps8_eis.c return cpu.rQ; // See AL36, Table 4-1 rQ 407 src/dps8/dps8_eis.c return GETHI (cpu.rQ); rQ 456 src/dps8/dps8_eis.c return GETLO (cpu.rQ); rQ 499 src/dps8/dps8_eis.c return GETHI (cpu.rQ); rQ 531 src/dps8/dps8_eis.c return cpu.rQ; rQ 2298 src/dps8/dps8_ins.c cpu.rA, cpu.rQ, dump_flags (buf, cpu.cu.IR)); rQ 2301 src/dps8/dps8_ins.c cpu.rE, cpu.rA, cpu.rQ, EAQToIEEElongdouble (cpup)); rQ 2304 src/dps8/dps8_ins.c cpu.rE, cpu.rA, cpu.rQ, EAQToIEEEdouble (cpup)); rQ 2785 src/dps8/dps8_ins.c cpu.rQ = cpu.CY; rQ 2789 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rQ == 0); rQ 2790 src/dps8/dps8_ins.c SC_I_NEG (cpu.rQ & SIGN36); rQ 2819 src/dps8/dps8_ins.c cpu.CY = cpu.rQ; rQ 2827 src/dps8/dps8_ins.c cmp36 (cpup, cpu.rQ, cpu.CY, &cpu.cu.IR); rQ 2837 src/dps8/dps8_ins.c word72 trAQ = convert_to_word72 (cpu.rA, cpu.rQ); rQ 2855 src/dps8/dps8_ins.c convert_to_word36 (trAQ, &cpu.rA, &cpu.rQ); rQ 3076 src/dps8/dps8_ins.c cpu.rQ = cpu.Ypair[1]; rQ 3080 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rA == 0 && cpu.rQ == 0) rQ 3118 src/dps8/dps8_ins.c cpu.Ypair[1] = cpu.rQ; rQ 3318 src/dps8/dps8_ins.c word72 trAQ = convert_to_word72 (cpu.rA, cpu.rQ); rQ 3333 src/dps8/dps8_ins.c convert_to_word36 (trAQ, &cpu.rA, &cpu.rQ); rQ 3363 src/dps8/dps8_ins.c cpu.rQ = Add36b (cpup, cpu.rQ, cpu.CY, 0, I_ZNOC, rQ 3445 src/dps8/dps8_ins.c cpu.rQ = 0; rQ 3450 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rA == 0 && cpu.rQ == 0); rQ 3470 src/dps8/dps8_ins.c cpu.rQ = cpu.TPR.TBR & MASK6; rQ 3471 src/dps8/dps8_ins.c cpu.rQ |= (word36) (cpu.TPR.CA & MASK18) << 18; rQ 3476 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rA == 0 && cpu.rQ == 0); rQ 3495 src/dps8/dps8_ins.c capture = cpu.rQ & barrelLeftMaskTable[cnt + 1]; rQ 3498 src/dps8/dps8_ins.c cpu.rQ <<= cnt; rQ 3499 src/dps8/dps8_ins.c cpu.rQ &= DMASK; // keep to 36-bits rQ 3505 src/dps8/dps8_ins.c capture = cpu.rQ; rQ 3506 src/dps8/dps8_ins.c cpu.rQ = 0; rQ 3515 src/dps8/dps8_ins.c word36 tmpSign = cpu.rQ & SIGN36; rQ 3520 src/dps8/dps8_ins.c cpu.rQ <<= 1; rQ 3521 src/dps8/dps8_ins.c if (tmpSign != (cpu.rQ & SIGN36)) rQ 3524 src/dps8/dps8_ins.c cpu.rQ &= DMASK; // keep to 36-bits rQ 3530 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rQ == 0); rQ 3531 src/dps8/dps8_ins.c SC_I_NEG (cpu.rQ & SIGN36); rQ 3578 src/dps8/dps8_ins.c cpu.rQ = 0; rQ 3579 src/dps8/dps8_ins.c SETHI (cpu.rQ, cpu.TPR.CA); rQ 3613 src/dps8/dps8_ins.c cpu.rQ = compl36 (cpup, cpu.CY, & cpu.cu.IR, & ovf); rQ 3655 src/dps8/dps8_ins.c cpu.rQ = cpu.Ypair[1]; rQ 3669 src/dps8/dps8_ins.c cpu.rQ = 0; rQ 3685 src/dps8/dps8_ins.c convert_to_word36 (tmp72, & cpu.rA, & cpu.rQ); rQ 3691 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rA == 0 && cpu.rQ == 0); rQ 3720 src/dps8/dps8_ins.c cpu.rQ = cpu.CY; rQ 3724 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rQ == 0); rQ 3725 src/dps8/dps8_ins.c SC_I_NEG (cpu.rQ & SIGN36); rQ 3793 src/dps8/dps8_ins.c cpu.rQ = cpu.Yblock8[5]; rQ 3833 src/dps8/dps8_ins.c cpu.Yblock8[5] = cpu.rQ; rQ 3873 src/dps8/dps8_ins.c if (cpu.CY == cpu.rQ) rQ 3913 src/dps8/dps8_ins.c cpu.CY = cpu.rQ; rQ 3973 src/dps8/dps8_ins.c cpu.CY = cpu.rQ; rQ 4193 src/dps8/dps8_ins.c cpu.rA = cpu.rQ; rQ 4194 src/dps8/dps8_ins.c cpu.rQ = tmp; rQ 4198 src/dps8/dps8_ins.c word36 highQ = cpu.rQ & barrelLeftMaskTable[cnt]; rQ 4199 src/dps8/dps8_ins.c word36 lowQ = cpu.rQ & BS_COMPL(barrelLeftMaskTable[cnt]); rQ 4201 src/dps8/dps8_ins.c cpu.rQ = (lowQ << cnt) | (highA >> (36 - cnt)); rQ 4210 src/dps8/dps8_ins.c bool b0 = cpu.rQ & SIGN36; // Q0 rQ 4214 src/dps8/dps8_ins.c cpu.rQ <<= 1; // shift left 1 rQ 4217 src/dps8/dps8_ins.c cpu.rQ |= 1; rQ 4222 src/dps8/dps8_ins.c cpu.rQ &= DMASK; rQ 4228 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rA == 0 && cpu.rQ == 0); rQ 4254 src/dps8/dps8_ins.c captureQ = cpu.rQ & barrelLeftMaskTable[cnt72 + 1 - 36]; rQ 4266 src/dps8/dps8_ins.c cpu.rA = cpu.rQ; rQ 4267 src/dps8/dps8_ins.c cpu.rQ = 0; rQ 4271 src/dps8/dps8_ins.c word36 highQ = cpu.rQ & barrelLeftMaskTable[cnt]; rQ 4272 src/dps8/dps8_ins.c word36 lowQ = cpu.rQ & BS_COMPL(barrelLeftMaskTable[cnt]); rQ 4274 src/dps8/dps8_ins.c cpu.rQ = (lowQ << cnt) /*| (highA >> (36 - cnt)) */; rQ 4292 src/dps8/dps8_ins.c bool b0 = cpu.rQ & SIGN36; // Q0 rQ 4296 src/dps8/dps8_ins.c cpu.rQ <<= 1; // shift left 1 rQ 4300 src/dps8/dps8_ins.c cpu.rQ &= DMASK; rQ 4307 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rA == 0 && cpu.rQ == 0); rQ 4324 src/dps8/dps8_ins.c cpu.rQ = 0; rQ 4327 src/dps8/dps8_ins.c cpu.rQ >>= cnt; rQ 4329 src/dps8/dps8_ins.c cpu.rQ &= BS_COMPL (barrelLeftMaskTable[cnt]); rQ 4339 src/dps8/dps8_ins.c cpu.rQ |= lowA; rQ 4342 src/dps8/dps8_ins.c cpu.rQ = cpu.rA >> (cnt - 36); rQ 4344 src/dps8/dps8_ins.c cpu.rQ &= BS_COMPL (barrelLeftMaskTable[cnt - 36]); rQ 4348 src/dps8/dps8_ins.c cpu.rQ &= DMASK; rQ 4351 src/dps8/dps8_ins.c cpu.rQ &= DMASK; // Make sure the shifted in bits are 0 rQ 4358 src/dps8/dps8_ins.c cpu.rQ >>= 1; // shift right 1 rQ 4361 src/dps8/dps8_ins.c cpu.rQ |= SIGN36; rQ 4364 src/dps8/dps8_ins.c cpu.rQ &= DMASK; rQ 4371 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rA == 0 && cpu.rQ == 0); rQ 4389 src/dps8/dps8_ins.c cpu.rA = cpu.rQ = AQ0 ? MASK36 : 0; rQ 4392 src/dps8/dps8_ins.c cpu.rQ >>= cnt; rQ 4394 src/dps8/dps8_ins.c cpu.rQ &= BS_COMPL (barrelLeftMaskTable[cnt]); rQ 4407 src/dps8/dps8_ins.c cpu.rQ |= lowA; rQ 4410 src/dps8/dps8_ins.c cpu.rQ = cpu.rA >> (cnt - 36); rQ 4413 src/dps8/dps8_ins.c cpu.rQ |= barrelLeftMaskTable[cnt - 36]; rQ 4416 src/dps8/dps8_ins.c cpu.rQ &= BS_COMPL (barrelLeftMaskTable[cnt - 36]); rQ 4421 src/dps8/dps8_ins.c cpu.rQ &= DMASK; rQ 4425 src/dps8/dps8_ins.c cpu.rQ &= DMASK; // Make sure the shifted in bits are 0 rQ 4436 src/dps8/dps8_ins.c cpu.rQ >>= 1; // shift right 1 rQ 4438 src/dps8/dps8_ins.c cpu.rQ |= SIGN36; rQ 4441 src/dps8/dps8_ins.c cpu.rQ &= DMASK; rQ 4448 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rA == 0 && cpu.rQ == 0); rQ 4464 src/dps8/dps8_ins.c word36 highQ = cpu.rQ & barrelLeftMaskTable[cnt]; rQ 4465 src/dps8/dps8_ins.c cpu.rQ <<= cnt; rQ 4468 src/dps8/dps8_ins.c cpu.rQ |= highQ; rQ 4469 src/dps8/dps8_ins.c cpu.rQ &= DMASK; // keep to 36-bits rQ 4474 src/dps8/dps8_ins.c bool q0 = cpu.rQ & SIGN36; // Q0 rQ 4475 src/dps8/dps8_ins.c cpu.rQ <<= 1; // shift left 1 rQ 4477 src/dps8/dps8_ins.c cpu.rQ |= 1; rQ 4479 src/dps8/dps8_ins.c cpu.rQ &= DMASK; // keep to 36-bits rQ 4485 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rQ == 0); rQ 4486 src/dps8/dps8_ins.c SC_I_NEG (cpu.rQ & SIGN36); rQ 4502 src/dps8/dps8_ins.c cpu.rQ &= DMASK; // Make sure the shifted in bits are 0 rQ 4503 src/dps8/dps8_ins.c cpu.rQ >>= tmp36; rQ 4504 src/dps8/dps8_ins.c cpu.rQ &= DMASK; // keep to 36-bits rQ 4509 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rQ == 0); rQ 4510 src/dps8/dps8_ins.c SC_I_NEG (cpu.rQ & SIGN36); rQ 4525 src/dps8/dps8_ins.c bool Q0 = (cpu.rQ & SIGN36) != 0; rQ 4528 src/dps8/dps8_ins.c cpu.rQ = Q0 ? MASK36 : 0; rQ 4531 src/dps8/dps8_ins.c cpu.rQ >>= cnt; rQ 4534 src/dps8/dps8_ins.c cpu.rQ |= barrelLeftMaskTable[cnt]; rQ 4536 src/dps8/dps8_ins.c cpu.rQ &= BS_COMPL (barrelLeftMaskTable[cnt]); rQ 4539 src/dps8/dps8_ins.c cpu.rQ &= DMASK; // keep to 36-bits rQ 4541 src/dps8/dps8_ins.c cpu.rQ &= DMASK; // Make sure the shifted in bits are 0 rQ 4543 src/dps8/dps8_ins.c bool q0 = cpu.rQ & SIGN36; // Q0 rQ 4546 src/dps8/dps8_ins.c cpu.rQ >>= 1; // shift right 1 rQ 4548 src/dps8/dps8_ins.c cpu.rQ |= SIGN36; rQ 4550 src/dps8/dps8_ins.c cpu.rQ &= DMASK; // keep to 36-bits rQ 4556 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rQ == 0); rQ 4557 src/dps8/dps8_ins.c SC_I_NEG (cpu.rQ & SIGN36); rQ 4597 src/dps8/dps8_ins.c tmp72 = Add72b (cpup, convert_to_word72 (cpu.rA, cpu.rQ), rQ 4599 src/dps8/dps8_ins.c convert_to_word36 (tmp72, & cpu.rA, & cpu.rQ); rQ 4618 src/dps8/dps8_ins.c tmp72 = Add72b (cpup, convert_to_word72 (cpu.rA, cpu.rQ), rQ 4620 src/dps8/dps8_ins.c convert_to_word36 (tmp72, & cpu.rA, & cpu.rQ); rQ 4643 src/dps8/dps8_ins.c tmp72 = Add72b (cpup, convert_to_word72 (cpu.rA, cpu.rQ), rQ 4645 src/dps8/dps8_ins.c convert_to_word36 (tmp72, & cpu.rA, & cpu.rQ); rQ 4684 src/dps8/dps8_ins.c cpu.rQ = Add36b (cpup, cpu.rQ, cpu.CY, 0, I_ZNC, & cpu.cu.IR, & ovf); rQ 4770 src/dps8/dps8_ins.c cpu.CY = Add36b (cpup, cpu.rQ, cpu.CY, 0, I_ZNOC, & cpu.cu.IR, & ovf); rQ 4829 src/dps8/dps8_ins.c cpu.rQ = Add36b (cpup, cpu.rQ, cpu.CY, TST_I_CARRY ? 1 : 0, rQ 4867 src/dps8/dps8_ins.c tmp72 = Sub72b (cpup, convert_to_word72 (cpu.rA, cpu.rQ), tmp72, 1, rQ 4870 src/dps8/dps8_ins.c convert_to_word36 (tmp72, & cpu.rA, & cpu.rQ); rQ 4911 src/dps8/dps8_ins.c tmp72 = Sub72b (cpup, convert_to_word72 (cpu.rA, cpu.rQ), tmp72, 1, rQ 4913 src/dps8/dps8_ins.c convert_to_word36 (tmp72, & cpu.rA, & cpu.rQ); rQ 4929 src/dps8/dps8_ins.c cpu.rQ = Sub36b (cpup, cpu.rQ, cpu.CY, 1, I_ZNC, & cpu.cu.IR, & ovf); rQ 4971 src/dps8/dps8_ins.c cpu.rQ = Sub36b (cpup, cpu.rQ, cpu.CY, 1, I_ZNOC, & cpu.cu.IR, & ovf); rQ 5030 src/dps8/dps8_ins.c cpu.CY = Sub36b (cpup, cpu.rQ, cpu.CY, 1, I_ZNOC, & cpu.cu.IR, & ovf); rQ 5090 src/dps8/dps8_ins.c cpu.rQ = Sub36b (cpup, cpu.rQ, cpu.CY, TST_I_CARRY ? 1 : 0, rQ 5138 src/dps8/dps8_ins.c convert_to_word36 (tmp72, &cpu.rA, &cpu.rQ); rQ 5143 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rA == 0 && cpu.rQ == 0); rQ 5158 src/dps8/dps8_ins.c SIGNEXT36_128 (cpu.rQ & DMASK), rQ 5160 src/dps8/dps8_ins.c convert_to_word36 (cast_128 (prod), &cpu.rA, &cpu.rQ); rQ 5162 src/dps8/dps8_ins.c int64_t t0 = SIGNEXT36_64 (cpu.rQ & DMASK); rQ 5167 src/dps8/dps8_ins.c convert_to_word36 ((word72)prod, &cpu.rA, &cpu.rQ); rQ 5174 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rA == 0 && cpu.rQ == 0); rQ 5204 src/dps8/dps8_ins.c if ((cpu.rQ == MAXNEG && (cpu.CY == 1 || cpu.CY == NEG136)) || rQ 5211 src/dps8/dps8_ins.c cpu.rA = (cpu.rQ & SIGN36) ? 0 : SIGN36; // works for case 1,2 rQ 5218 src/dps8/dps8_ins.c SC_I_NEG (cpu.rQ & SIGN36); rQ 5220 src/dps8/dps8_ins.c if (cpu.rQ & SIGN36) rQ 5224 src/dps8/dps8_ins.c cpu.rQ = ((word36) (- (word36s) cpu.rQ)) & MASK36; rQ 5236 src/dps8/dps8_ins.c t_int64 dividend = (t_int64) (SIGNEXT36_64 (cpu.rQ)); rQ 5243 src/dps8/dps8_ins.c dividend, cpu.rQ); rQ 5299 src/dps8/dps8_ins.c " rQ %012"PRIo64" CY %012"PRIo64"\n", cpu.rQ, cpu.CY); rQ 5303 src/dps8/dps8_ins.c cpu.rQ = (word36) quotient & DMASK; rQ 5310 src/dps8/dps8_ins.c sim_debug (DBG_CAC, & cpu_dev, "rQ (quot) %012"PRIo64"\n", cpu.rQ); rQ 5314 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rQ == 0); rQ 5315 src/dps8/dps8_ins.c SC_I_NEG (cpu.rQ & SIGN36); rQ 5379 src/dps8/dps8_ins.c cpu.rQ &= DMASK; rQ 5381 src/dps8/dps8_ins.c if (cpu.rA == 0400000000000ULL && cpu.rQ == 0) rQ 5388 src/dps8/dps8_ins.c word72 tmp72 = convert_to_word72 (cpu.rA, cpu.rQ); rQ 5403 src/dps8/dps8_ins.c convert_to_word36 (tmp72, &cpu.rA, &cpu.rQ); rQ 5463 src/dps8/dps8_ins.c word36 Z = ~cpu.rQ & (cpu.rA ^ cpu.CY); rQ 5496 src/dps8/dps8_ins.c word72 trAQ = convert_to_word72 (cpu.rA, cpu.rQ); rQ 5541 src/dps8/dps8_ins.c cmp36wl (cpup, cpu.rA, cpu.CY, cpu.rQ, &cpu.cu.IR); rQ 5577 src/dps8/dps8_ins.c cpu.rQ = cpu.rQ & cpu.CY; rQ 5578 src/dps8/dps8_ins.c cpu.rQ &= DMASK; rQ 5583 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rQ == 0); rQ 5584 src/dps8/dps8_ins.c SC_I_NEG (cpu.rQ & SIGN36); rQ 5607 src/dps8/dps8_ins.c cpu.CY = cpu.rQ & cpu.CY; rQ 5682 src/dps8/dps8_ins.c word72 trAQ = convert_to_word72 (cpu.rA, cpu.rQ); rQ 5696 src/dps8/dps8_ins.c convert_to_word36 (trAQ, &cpu.rA, &cpu.rQ); rQ 5709 src/dps8/dps8_ins.c cpu.rQ = cpu.rQ | cpu.CY; rQ 5710 src/dps8/dps8_ins.c cpu.rQ &= DMASK; rQ 5715 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rQ == 0); rQ 5716 src/dps8/dps8_ins.c SC_I_NEG (cpu.rQ & SIGN36); rQ 5737 src/dps8/dps8_ins.c cpu.CY = cpu.rQ | cpu.CY; rQ 5821 src/dps8/dps8_ins.c cpu.rQ = cpu.rQ ^ cpu.CY; rQ 5822 src/dps8/dps8_ins.c cpu.rQ &= DMASK; rQ 5826 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rQ == 0); rQ 5827 src/dps8/dps8_ins.c SC_I_NEG (cpu.rQ & SIGN36); rQ 5847 src/dps8/dps8_ins.c cpu.CY = cpu.rQ ^ cpu.CY; rQ 5922 src/dps8/dps8_ins.c word72 trAQ = convert_to_word72 (cpu.rA, cpu.rQ); rQ 5945 src/dps8/dps8_ins.c word36 trZ = cpu.rQ & cpu.CY; rQ 6006 src/dps8/dps8_ins.c word72 trAQ = convert_to_word72 (cpu.rA, cpu.rQ); rQ 6029 src/dps8/dps8_ins.c word36 trZ = cpu.rQ & ~cpu.CY; rQ 6076 src/dps8/dps8_ins.c cpu.rQ = (cpu.Ypair[1] & FLOAT36MASK) << 8; rQ 6083 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rA == 0 && cpu.rQ == 0); rQ 6104 src/dps8/dps8_ins.c ((cpu.rQ & 0777777777400LLU) >> 8); rQ 6331 src/dps8/dps8_ins.c fno (cpup, & cpu.rE, & cpu.rA, & cpu.rQ); rQ 7100 src/dps8/dps8_ins.c 040, & cpu.rA, & cpu.rQ); rQ 7119 src/dps8/dps8_ins.c word72 big = convert_to_word72 (cpu.rA, cpu.rQ); rQ 7359 src/dps8/dps8_ins.c cpu.rQ <<= 6; // Shift C(Q) left six positions rQ 7360 src/dps8/dps8_ins.c cpu.rQ &= DMASK; rQ 7363 src/dps8/dps8_ins.c cpu.rQ |= (tmp36q & 017); rQ 8059 src/dps8/dps8_ins.c & cpu.rA, & cpu.rQ); rQ 8136 src/dps8/dps8_ins.c & cpu.rA, & cpu.rQ); rQ 8570 src/dps8/dps8_ins.c current_running_cpu_idx, cpu.rA, cpu.rQ); rQ 8636 src/dps8/dps8_ins.c cpu.rA, cpu.rQ); rQ 9613 src/dps8/dps8_ins.c rQ 9622 src/dps8/dps8_ins.c rQ 9628 src/dps8/dps8_ins.c rQ 9633 src/dps8/dps8_ins.c rQ 9709 src/dps8/dps8_ins.c rQ 77 src/dps8/dps8_math.c word72 Mant = convert_to_word72 (cpu.rA, cpu.rQ); rQ 129 src/dps8/dps8_math.c word72 Mant = convert_to_word72 (cpu.rA, cpu.rQ); rQ 299 src/dps8/dps8_math.c cpu . rQ = 0; rQ 342 src/dps8/dps8_math.c cpu . rQ = result & MASK36; rQ 485 src/dps8/dps8_math.c word72 m1 = convert_to_word72 (cpu.rA, cpu.rQ); rQ 678 src/dps8/dps8_math.c convert_to_word36 (m3, & cpu.rA, & cpu.rQ); rQ 686 src/dps8/dps8_math.c if (cpu.rA == 0 && cpu.rQ == 0) { rQ 694 src/dps8/dps8_math.c fno_ext (cpup, & e3, & cpu.rE, & cpu.rA, & cpu.rQ); rQ 1082 src/dps8/dps8_math.c word72 m = convert_to_word72 (cpu.rA, cpu.rQ); rQ 1114 src/dps8/dps8_math.c convert_to_word36 (m, & cpu.rA, & cpu.rQ); rQ 1115 src/dps8/dps8_math.c fno (cpup, & cpu.rE, & cpu.rA, & cpu.rQ); // normalize rQ 1135 src/dps8/dps8_math.c word72 m1 = convert_to_word72 (cpu.rA, cpu.rQ); rQ 1153 src/dps8/dps8_math.c cpu.rQ = 0; rQ 1213 src/dps8/dps8_math.c convert_to_word36 (m3a, & cpu.rA, & cpu.rQ); rQ 1218 src/dps8/dps8_math.c sim_debug (DBG_TRACEEXT, & cpu_dev, "fmp A %012"PRIo64" Q %012"PRIo64" E %03o\n", cpu.rA, cpu.rQ, cpu.rE); rQ 1221 src/dps8/dps8_math.c if (cpu.rA == 0 && cpu.rQ == 0) { rQ 1229 src/dps8/dps8_math.c fno_ext (cpup, & e3, & cpu.rE, & cpu.rA, & cpu.rQ); rQ 1276 src/dps8/dps8_math.c m1 = convert_to_word72 (cpu.rA, cpu.rQ); rQ 1288 src/dps8/dps8_math.c m2 = convert_to_word72 (cpu.rA, cpu.rQ); rQ 1327 src/dps8/dps8_math.c cpu.rQ = 0; rQ 1395 src/dps8/dps8_math.c convert_to_word36 (m1, & cpu.rA, & cpu.rQ); rQ 1468 src/dps8/dps8_math.c cpu.rQ = 0; rQ 1553 src/dps8/dps8_math.c word72 m = convert_to_word72 (cpu.rA, cpu.rQ); rQ 1594 src/dps8/dps8_math.c convert_to_word36 (m, & cpu.rA, & cpu.rQ); rQ 1596 src/dps8/dps8_math.c fno (cpup, & cpu.rE, & cpu.rA, & cpu.rQ); rQ 1612 src/dps8/dps8_math.c word36 A = cpu . rA, Q = cpu . rQ; rQ 1996 src/dps8/dps8_math.c word72 m1 = convert_to_word72 (cpu.rA, cpu.rQ); rQ 2192 src/dps8/dps8_math.c convert_to_word36 (m3, & cpu.rA, & cpu.rQ); rQ 2200 src/dps8/dps8_math.c if (cpu.rA == 0 && cpu.rQ == 0) { rQ 2208 src/dps8/dps8_math.c fno_ext (cpup, & e3, & cpu.rE, & cpu.rA, & cpu.rQ); rQ 2306 src/dps8/dps8_math.c word72 m1 = convert_to_word72 (cpu.rA, cpu.rQ); rQ 2339 src/dps8/dps8_math.c cpu.rQ = 0; rQ 2417 src/dps8/dps8_math.c convert_to_word36 (m3a, & cpu.rA, & cpu.rQ); rQ 2425 src/dps8/dps8_math.c if (cpu.rA == 0 && cpu.rQ == 0) { rQ 2433 src/dps8/dps8_math.c fno_ext (cpup, & e3, & cpu.rE, & cpu.rA, & cpu.rQ); rQ 2481 src/dps8/dps8_math.c m1 = convert_to_word72 (cpu.rA, cpu.rQ); rQ 2495 src/dps8/dps8_math.c m2 = convert_to_word72 (cpu.rA, cpu.rQ); rQ 2545 src/dps8/dps8_math.c cpu.rQ = 0; rQ 2612 src/dps8/dps8_math.c convert_to_word36 (m1, & cpu.rA, & cpu.rQ); rQ 2666 src/dps8/dps8_math.c convert_to_word36 (m3, & cpu.rA, & cpu.rQ); rQ 2672 src/dps8/dps8_math.c SC_I_ZERO (cpu.rA == 0 && cpu . rQ == 0); rQ 2675 src/dps8/dps8_math.c if (cpu.rA == 0 && cpu.rQ == 0) // set to normalized 0 rQ 2805 src/dps8/dps8_math.c uint128 zFrac = (((uint128) (cpu.rA & MASK35)) << 35) | ((cpu.rQ >> 1) & MASK35); rQ 2844 src/dps8/dps8_math.c cpu.rQ = (zFrac & MASK35) << 1; rQ 2901 src/dps8/dps8_math.c cpu.rQ = remainder & MASK36; rQ 2916 src/dps8/dps8_math.c rQ 2940 src/dps8/dps8_math.c zFrac = or_128 (zFrac, construct_128 (0, (cpu.rQ >> 1) & MASK35)); rQ 2943 src/dps8/dps8_math.c uint128 zFrac = ((uint128) (cpu . rA & MASK35) << 35) | ((cpu . rQ >> 1) & MASK35); rQ 3024 src/dps8/dps8_math.c cpu.rQ = cpu.rQ & (MASK35 << 1); rQ 3067 src/dps8/dps8_math.c bool AQzero = cpu.rA == 0 && cpu.rQ == 0; rQ 3071 src/dps8/dps8_math.c cpu.rQ = (~cpu.rQ) & MASK36; rQ 3072 src/dps8/dps8_math.c cpu.rQ += 1; rQ 3073 src/dps8/dps8_math.c if (cpu.rQ & BIT37) // overflow? rQ 3075 src/dps8/dps8_math.c cpu.rQ &= MASK36; rQ 3083 src/dps8/dps8_math.c rQ 3093 src/dps8/dps8_math.c cpu.rQ = cpu.rQ & (MASK35 << 1); rQ 3123 src/dps8/dps8_math.c cpu.rQ = remainder.l & MASK36; rQ 3126 src/dps8/dps8_math.c cpu . rQ = remainder & MASK36; rQ 3135 src/dps8/dps8_math.c SC_I_ZERO (cpu . rA == 0 && cpu . rQ == 0); rQ 3164 src/dps8/dps8_math.c float72 m = convert_to_word72 (cpu.rA, cpu.rQ); rQ 3205 src/dps8/dps8_math.c convert_to_word36 (m, & cpu.rA, & cpu.rQ); rQ 3207 src/dps8/dps8_math.c fno (cpup, & cpu.rE, & cpu.rA, & cpu.rQ); rQ 3238 src/dps8/dps8_math.c word36 A = cpu . rA, Q = cpu . rQ; rQ 3328 src/dps8/dps8_math.c word72 m1 = convert_to_word72 (cpu.rA, cpu.rQ & 0777777777400LL); rQ 3463 src/dps8/dps8_math.c word72 m1 = convert_to_word72 (cpu.rA & MASK36, cpu.rQ & 0777777777400LL); rQ 1841 src/dps8/dps8_scu.c word36 b16_51 = cpu.rQ; rQ 2113 src/dps8/dps8_scu.c cpu.rQ = clk & 0777777777777; // lower 36-bits of clock rQ 3379 src/dps8/dps8_sys.c sim_msg ("rQ %012"PRIo64" (%llu)\n", rQ, rQ); rQ 3417 src/dps8/dps8_sys.c sim_msg ("rQ %012"PRIo64" (%llu)\n", rQ, rQ); rQ 3424 src/dps8/dps8_sys.c sim_msg ("rQ %012"PRIo64" (%llu)\n", rQ, rQ); rQ 3433 src/dps8/dps8_sys.c sim_msg ("rQ %012"PRIo64" (%llu)\n", rQ, rQ); rQ 3492 src/dps8/dps8_sys.c sim_msg ("rQ %012"PRIo64" (%llu)\n", rQ, rQ); rQ 3536 src/dps8/dps8_sys.c sim_msg ("rQ %012"PRIo64" (%llu)\n", rQ, rQ); rQ 4065 src/dps8/dps8_sys.c { "cpus[].rQ", SYM_STRUCT_OFFSET, SYM_UINT64_36, offsetof (cpu_state_t, rQ) }, rQ 82 src/dps8/hdbg.h # define HDBGRegQR(c) hdbgRegR (hreg_Q, cpu.rQ, c) rQ 83 src/dps8/hdbg.h # define HDBGRegQW(c) hdbgRegW (hreg_Q, cpu.rQ, c) rQ 728 src/dps8/panelScraper.c SETL (bank_e, 0+3, cpu.rQ, 36); rQ 755 src/dps8/panelScraper.c SETL (bank_e, 0+3, cpu.rQ >> 8, 36 - 8);