rQ 70 src/dps8/dps8_addrmods.c return GETHI (cpu.rQ); rQ 96 src/dps8/dps8_addrmods.c return GETLO (cpu.rQ); rQ 961 src/dps8/dps8_cpu.c cpu.rQ = 0; rQ 1578 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 3319 src/dps8/dps8_ins.c word72 trAQ = convert_to_word72 (cpu.rA, cpu.rQ); rQ 3334 src/dps8/dps8_ins.c convert_to_word36 (trAQ, &cpu.rA, &cpu.rQ); rQ 3364 src/dps8/dps8_ins.c cpu.rQ = Add36b (cpup, cpu.rQ, cpu.CY, 0, I_ZNOC, rQ 3446 src/dps8/dps8_ins.c cpu.rQ = 0; rQ 3451 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rA == 0 && cpu.rQ == 0); rQ 3471 src/dps8/dps8_ins.c cpu.rQ = cpu.TPR.TBR & MASK6; rQ 3472 src/dps8/dps8_ins.c cpu.rQ |= (word36) (cpu.TPR.CA & MASK18) << 18; rQ 3477 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rA == 0 && cpu.rQ == 0); rQ 3496 src/dps8/dps8_ins.c capture = cpu.rQ & barrelLeftMaskTable[cnt + 1]; rQ 3499 src/dps8/dps8_ins.c cpu.rQ <<= cnt; rQ 3500 src/dps8/dps8_ins.c cpu.rQ &= DMASK; // keep to 36-bits rQ 3506 src/dps8/dps8_ins.c capture = cpu.rQ; rQ 3507 src/dps8/dps8_ins.c cpu.rQ = 0; rQ 3516 src/dps8/dps8_ins.c word36 tmpSign = cpu.rQ & SIGN36; rQ 3521 src/dps8/dps8_ins.c cpu.rQ <<= 1; rQ 3522 src/dps8/dps8_ins.c if (tmpSign != (cpu.rQ & SIGN36)) rQ 3525 src/dps8/dps8_ins.c cpu.rQ &= DMASK; // keep to 36-bits rQ 3531 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rQ == 0); rQ 3532 src/dps8/dps8_ins.c SC_I_NEG (cpu.rQ & SIGN36); rQ 3579 src/dps8/dps8_ins.c cpu.rQ = 0; rQ 3580 src/dps8/dps8_ins.c SETHI (cpu.rQ, cpu.TPR.CA); rQ 3614 src/dps8/dps8_ins.c cpu.rQ = compl36 (cpup, cpu.CY, & cpu.cu.IR, & ovf); rQ 3656 src/dps8/dps8_ins.c cpu.rQ = cpu.Ypair[1]; rQ 3670 src/dps8/dps8_ins.c cpu.rQ = 0; rQ 3686 src/dps8/dps8_ins.c convert_to_word36 (tmp72, & cpu.rA, & cpu.rQ); rQ 3692 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rA == 0 && cpu.rQ == 0); rQ 3721 src/dps8/dps8_ins.c cpu.rQ = cpu.CY; rQ 3725 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rQ == 0); rQ 3726 src/dps8/dps8_ins.c SC_I_NEG (cpu.rQ & SIGN36); rQ 3794 src/dps8/dps8_ins.c cpu.rQ = cpu.Yblock8[5]; rQ 3834 src/dps8/dps8_ins.c cpu.Yblock8[5] = cpu.rQ; rQ 3874 src/dps8/dps8_ins.c if (cpu.CY == cpu.rQ) rQ 3914 src/dps8/dps8_ins.c cpu.CY = cpu.rQ; rQ 3974 src/dps8/dps8_ins.c cpu.CY = cpu.rQ; rQ 4194 src/dps8/dps8_ins.c cpu.rA = cpu.rQ; rQ 4195 src/dps8/dps8_ins.c cpu.rQ = tmp; rQ 4199 src/dps8/dps8_ins.c word36 highQ = cpu.rQ & barrelLeftMaskTable[cnt]; rQ 4200 src/dps8/dps8_ins.c word36 lowQ = cpu.rQ & BS_COMPL(barrelLeftMaskTable[cnt]); rQ 4202 src/dps8/dps8_ins.c cpu.rQ = (lowQ << cnt) | (highA >> (36 - cnt)); rQ 4211 src/dps8/dps8_ins.c bool b0 = cpu.rQ & SIGN36; // Q0 rQ 4215 src/dps8/dps8_ins.c cpu.rQ <<= 1; // shift left 1 rQ 4218 src/dps8/dps8_ins.c cpu.rQ |= 1; rQ 4223 src/dps8/dps8_ins.c cpu.rQ &= DMASK; rQ 4229 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rA == 0 && cpu.rQ == 0); rQ 4255 src/dps8/dps8_ins.c captureQ = cpu.rQ & barrelLeftMaskTable[cnt72 + 1 - 36]; rQ 4267 src/dps8/dps8_ins.c cpu.rA = cpu.rQ; rQ 4268 src/dps8/dps8_ins.c cpu.rQ = 0; rQ 4272 src/dps8/dps8_ins.c word36 highQ = cpu.rQ & barrelLeftMaskTable[cnt]; rQ 4273 src/dps8/dps8_ins.c word36 lowQ = cpu.rQ & BS_COMPL(barrelLeftMaskTable[cnt]); rQ 4275 src/dps8/dps8_ins.c cpu.rQ = (lowQ << cnt) /*| (highA >> (36 - cnt)) */; rQ 4293 src/dps8/dps8_ins.c bool b0 = cpu.rQ & SIGN36; // Q0 rQ 4297 src/dps8/dps8_ins.c cpu.rQ <<= 1; // shift left 1 rQ 4301 src/dps8/dps8_ins.c cpu.rQ &= DMASK; rQ 4308 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rA == 0 && cpu.rQ == 0); rQ 4325 src/dps8/dps8_ins.c cpu.rQ = 0; rQ 4328 src/dps8/dps8_ins.c cpu.rQ >>= cnt; rQ 4330 src/dps8/dps8_ins.c cpu.rQ &= BS_COMPL (barrelLeftMaskTable[cnt]); rQ 4340 src/dps8/dps8_ins.c cpu.rQ |= lowA; rQ 4343 src/dps8/dps8_ins.c cpu.rQ = cpu.rA >> (cnt - 36); rQ 4345 src/dps8/dps8_ins.c cpu.rQ &= BS_COMPL (barrelLeftMaskTable[cnt - 36]); rQ 4349 src/dps8/dps8_ins.c cpu.rQ &= DMASK; rQ 4352 src/dps8/dps8_ins.c cpu.rQ &= DMASK; // Make sure the shifted in bits are 0 rQ 4359 src/dps8/dps8_ins.c cpu.rQ >>= 1; // shift right 1 rQ 4362 src/dps8/dps8_ins.c cpu.rQ |= SIGN36; rQ 4365 src/dps8/dps8_ins.c cpu.rQ &= DMASK; rQ 4372 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rA == 0 && cpu.rQ == 0); rQ 4390 src/dps8/dps8_ins.c cpu.rA = cpu.rQ = AQ0 ? MASK36 : 0; rQ 4393 src/dps8/dps8_ins.c cpu.rQ >>= cnt; rQ 4395 src/dps8/dps8_ins.c cpu.rQ &= BS_COMPL (barrelLeftMaskTable[cnt]); rQ 4408 src/dps8/dps8_ins.c cpu.rQ |= lowA; rQ 4411 src/dps8/dps8_ins.c cpu.rQ = cpu.rA >> (cnt - 36); rQ 4414 src/dps8/dps8_ins.c cpu.rQ |= barrelLeftMaskTable[cnt - 36]; rQ 4417 src/dps8/dps8_ins.c cpu.rQ &= BS_COMPL (barrelLeftMaskTable[cnt - 36]); rQ 4422 src/dps8/dps8_ins.c cpu.rQ &= DMASK; rQ 4426 src/dps8/dps8_ins.c cpu.rQ &= DMASK; // Make sure the shifted in bits are 0 rQ 4437 src/dps8/dps8_ins.c cpu.rQ >>= 1; // shift right 1 rQ 4439 src/dps8/dps8_ins.c cpu.rQ |= SIGN36; rQ 4442 src/dps8/dps8_ins.c cpu.rQ &= DMASK; rQ 4449 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rA == 0 && cpu.rQ == 0); rQ 4465 src/dps8/dps8_ins.c word36 highQ = cpu.rQ & barrelLeftMaskTable[cnt]; rQ 4466 src/dps8/dps8_ins.c cpu.rQ <<= cnt; rQ 4469 src/dps8/dps8_ins.c cpu.rQ |= highQ; rQ 4470 src/dps8/dps8_ins.c cpu.rQ &= DMASK; // keep to 36-bits rQ 4475 src/dps8/dps8_ins.c bool q0 = cpu.rQ & SIGN36; // Q0 rQ 4476 src/dps8/dps8_ins.c cpu.rQ <<= 1; // shift left 1 rQ 4478 src/dps8/dps8_ins.c cpu.rQ |= 1; rQ 4480 src/dps8/dps8_ins.c cpu.rQ &= DMASK; // keep to 36-bits rQ 4486 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rQ == 0); rQ 4487 src/dps8/dps8_ins.c SC_I_NEG (cpu.rQ & SIGN36); rQ 4503 src/dps8/dps8_ins.c cpu.rQ &= DMASK; // Make sure the shifted in bits are 0 rQ 4504 src/dps8/dps8_ins.c cpu.rQ >>= tmp36; rQ 4505 src/dps8/dps8_ins.c cpu.rQ &= DMASK; // keep to 36-bits rQ 4510 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rQ == 0); rQ 4511 src/dps8/dps8_ins.c SC_I_NEG (cpu.rQ & SIGN36); rQ 4526 src/dps8/dps8_ins.c bool Q0 = (cpu.rQ & SIGN36) != 0; rQ 4529 src/dps8/dps8_ins.c cpu.rQ = Q0 ? MASK36 : 0; rQ 4532 src/dps8/dps8_ins.c cpu.rQ >>= cnt; rQ 4535 src/dps8/dps8_ins.c cpu.rQ |= barrelLeftMaskTable[cnt]; rQ 4537 src/dps8/dps8_ins.c cpu.rQ &= BS_COMPL (barrelLeftMaskTable[cnt]); rQ 4540 src/dps8/dps8_ins.c cpu.rQ &= DMASK; // keep to 36-bits rQ 4542 src/dps8/dps8_ins.c cpu.rQ &= DMASK; // Make sure the shifted in bits are 0 rQ 4544 src/dps8/dps8_ins.c bool q0 = cpu.rQ & SIGN36; // Q0 rQ 4547 src/dps8/dps8_ins.c cpu.rQ >>= 1; // shift right 1 rQ 4549 src/dps8/dps8_ins.c cpu.rQ |= SIGN36; rQ 4551 src/dps8/dps8_ins.c cpu.rQ &= DMASK; // keep to 36-bits rQ 4557 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rQ == 0); rQ 4558 src/dps8/dps8_ins.c SC_I_NEG (cpu.rQ & SIGN36); rQ 4598 src/dps8/dps8_ins.c tmp72 = Add72b (cpup, convert_to_word72 (cpu.rA, cpu.rQ), rQ 4600 src/dps8/dps8_ins.c convert_to_word36 (tmp72, & cpu.rA, & cpu.rQ); rQ 4619 src/dps8/dps8_ins.c tmp72 = Add72b (cpup, convert_to_word72 (cpu.rA, cpu.rQ), rQ 4621 src/dps8/dps8_ins.c convert_to_word36 (tmp72, & cpu.rA, & cpu.rQ); rQ 4644 src/dps8/dps8_ins.c tmp72 = Add72b (cpup, convert_to_word72 (cpu.rA, cpu.rQ), rQ 4646 src/dps8/dps8_ins.c convert_to_word36 (tmp72, & cpu.rA, & cpu.rQ); rQ 4685 src/dps8/dps8_ins.c cpu.rQ = Add36b (cpup, cpu.rQ, cpu.CY, 0, I_ZNC, & cpu.cu.IR, & ovf); rQ 4771 src/dps8/dps8_ins.c cpu.CY = Add36b (cpup, cpu.rQ, cpu.CY, 0, I_ZNOC, & cpu.cu.IR, & ovf); rQ 4830 src/dps8/dps8_ins.c cpu.rQ = Add36b (cpup, cpu.rQ, cpu.CY, TST_I_CARRY ? 1 : 0, rQ 4868 src/dps8/dps8_ins.c tmp72 = Sub72b (cpup, convert_to_word72 (cpu.rA, cpu.rQ), tmp72, 1, rQ 4871 src/dps8/dps8_ins.c convert_to_word36 (tmp72, & cpu.rA, & cpu.rQ); rQ 4912 src/dps8/dps8_ins.c tmp72 = Sub72b (cpup, convert_to_word72 (cpu.rA, cpu.rQ), tmp72, 1, rQ 4914 src/dps8/dps8_ins.c convert_to_word36 (tmp72, & cpu.rA, & cpu.rQ); rQ 4930 src/dps8/dps8_ins.c cpu.rQ = Sub36b (cpup, cpu.rQ, cpu.CY, 1, I_ZNC, & cpu.cu.IR, & ovf); rQ 4972 src/dps8/dps8_ins.c cpu.rQ = Sub36b (cpup, cpu.rQ, cpu.CY, 1, I_ZNOC, & cpu.cu.IR, & ovf); rQ 5031 src/dps8/dps8_ins.c cpu.CY = Sub36b (cpup, cpu.rQ, cpu.CY, 1, I_ZNOC, & cpu.cu.IR, & ovf); rQ 5091 src/dps8/dps8_ins.c cpu.rQ = Sub36b (cpup, cpu.rQ, cpu.CY, TST_I_CARRY ? 1 : 0, rQ 5139 src/dps8/dps8_ins.c convert_to_word36 (tmp72, &cpu.rA, &cpu.rQ); rQ 5144 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rA == 0 && cpu.rQ == 0); rQ 5159 src/dps8/dps8_ins.c SIGNEXT36_128 (cpu.rQ & DMASK), rQ 5161 src/dps8/dps8_ins.c convert_to_word36 (cast_128 (prod), &cpu.rA, &cpu.rQ); rQ 5163 src/dps8/dps8_ins.c int64_t t0 = SIGNEXT36_64 (cpu.rQ & DMASK); rQ 5168 src/dps8/dps8_ins.c convert_to_word36 ((word72)prod, &cpu.rA, &cpu.rQ); rQ 5175 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rA == 0 && cpu.rQ == 0); rQ 5205 src/dps8/dps8_ins.c if ((cpu.rQ == MAXNEG && (cpu.CY == 1 || cpu.CY == NEG136)) || rQ 5212 src/dps8/dps8_ins.c cpu.rA = (cpu.rQ & SIGN36) ? 0 : SIGN36; // works for case 1,2 rQ 5219 src/dps8/dps8_ins.c SC_I_NEG (cpu.rQ & SIGN36); rQ 5221 src/dps8/dps8_ins.c if (cpu.rQ & SIGN36) rQ 5225 src/dps8/dps8_ins.c cpu.rQ = ((word36) (- (word36s) cpu.rQ)) & MASK36; rQ 5237 src/dps8/dps8_ins.c t_int64 dividend = (t_int64) (SIGNEXT36_64 (cpu.rQ)); rQ 5244 src/dps8/dps8_ins.c dividend, cpu.rQ); rQ 5300 src/dps8/dps8_ins.c " rQ %012"PRIo64" CY %012"PRIo64"\n", cpu.rQ, cpu.CY); rQ 5304 src/dps8/dps8_ins.c cpu.rQ = (word36) quotient & DMASK; rQ 5311 src/dps8/dps8_ins.c sim_debug (DBG_CAC, & cpu_dev, "rQ (quot) %012"PRIo64"\n", cpu.rQ); rQ 5315 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rQ == 0); rQ 5316 src/dps8/dps8_ins.c SC_I_NEG (cpu.rQ & SIGN36); rQ 5380 src/dps8/dps8_ins.c cpu.rQ &= DMASK; rQ 5382 src/dps8/dps8_ins.c if (cpu.rA == 0400000000000ULL && cpu.rQ == 0) rQ 5389 src/dps8/dps8_ins.c word72 tmp72 = convert_to_word72 (cpu.rA, cpu.rQ); rQ 5404 src/dps8/dps8_ins.c convert_to_word36 (tmp72, &cpu.rA, &cpu.rQ); rQ 5464 src/dps8/dps8_ins.c word36 Z = ~cpu.rQ & (cpu.rA ^ cpu.CY); rQ 5497 src/dps8/dps8_ins.c word72 trAQ = convert_to_word72 (cpu.rA, cpu.rQ); rQ 5542 src/dps8/dps8_ins.c cmp36wl (cpup, cpu.rA, cpu.CY, cpu.rQ, &cpu.cu.IR); rQ 5578 src/dps8/dps8_ins.c cpu.rQ = cpu.rQ & cpu.CY; rQ 5579 src/dps8/dps8_ins.c cpu.rQ &= DMASK; rQ 5584 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rQ == 0); rQ 5585 src/dps8/dps8_ins.c SC_I_NEG (cpu.rQ & SIGN36); rQ 5608 src/dps8/dps8_ins.c cpu.CY = cpu.rQ & cpu.CY; rQ 5683 src/dps8/dps8_ins.c word72 trAQ = convert_to_word72 (cpu.rA, cpu.rQ); rQ 5697 src/dps8/dps8_ins.c convert_to_word36 (trAQ, &cpu.rA, &cpu.rQ); rQ 5710 src/dps8/dps8_ins.c cpu.rQ = cpu.rQ | cpu.CY; rQ 5711 src/dps8/dps8_ins.c cpu.rQ &= DMASK; rQ 5716 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rQ == 0); rQ 5717 src/dps8/dps8_ins.c SC_I_NEG (cpu.rQ & SIGN36); rQ 5738 src/dps8/dps8_ins.c cpu.CY = cpu.rQ | cpu.CY; rQ 5822 src/dps8/dps8_ins.c cpu.rQ = cpu.rQ ^ cpu.CY; rQ 5823 src/dps8/dps8_ins.c cpu.rQ &= DMASK; rQ 5827 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rQ == 0); rQ 5828 src/dps8/dps8_ins.c SC_I_NEG (cpu.rQ & SIGN36); rQ 5848 src/dps8/dps8_ins.c cpu.CY = cpu.rQ ^ cpu.CY; rQ 5923 src/dps8/dps8_ins.c word72 trAQ = convert_to_word72 (cpu.rA, cpu.rQ); rQ 5946 src/dps8/dps8_ins.c word36 trZ = cpu.rQ & cpu.CY; rQ 6007 src/dps8/dps8_ins.c word72 trAQ = convert_to_word72 (cpu.rA, cpu.rQ); rQ 6030 src/dps8/dps8_ins.c word36 trZ = cpu.rQ & ~cpu.CY; rQ 6077 src/dps8/dps8_ins.c cpu.rQ = (cpu.Ypair[1] & FLOAT36MASK) << 8; rQ 6084 src/dps8/dps8_ins.c SC_I_ZERO (cpu.rA == 0 && cpu.rQ == 0); rQ 6105 src/dps8/dps8_ins.c ((cpu.rQ & 0777777777400LLU) >> 8); rQ 6332 src/dps8/dps8_ins.c fno (cpup, & cpu.rE, & cpu.rA, & cpu.rQ); rQ 7101 src/dps8/dps8_ins.c 040, & cpu.rA, & cpu.rQ); rQ 7120 src/dps8/dps8_ins.c word72 big = convert_to_word72 (cpu.rA, cpu.rQ); rQ 7360 src/dps8/dps8_ins.c cpu.rQ <<= 6; // Shift C(Q) left six positions rQ 7361 src/dps8/dps8_ins.c cpu.rQ &= DMASK; rQ 7364 src/dps8/dps8_ins.c cpu.rQ |= (tmp36q & 017); rQ 8060 src/dps8/dps8_ins.c & cpu.rA, & cpu.rQ); rQ 8137 src/dps8/dps8_ins.c & cpu.rA, & cpu.rQ); rQ 8586 src/dps8/dps8_ins.c current_running_cpu_idx, cpu.rA, cpu.rQ); rQ 8652 src/dps8/dps8_ins.c cpu.rA, cpu.rQ); rQ 9701 src/dps8/dps8_ins.c rQ 9710 src/dps8/dps8_ins.c rQ 9716 src/dps8/dps8_ins.c rQ 9721 src/dps8/dps8_ins.c rQ 9797 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 1844 src/dps8/dps8_scu.c word36 b16_51 = cpu.rQ; rQ 2116 src/dps8/dps8_scu.c cpu.rQ = clk & 0777777777777; // lower 36-bits of clock rQ 3380 src/dps8/dps8_sys.c sim_msg ("rQ %012"PRIo64" (%llu)\n", rQ, rQ); rQ 3418 src/dps8/dps8_sys.c sim_msg ("rQ %012"PRIo64" (%llu)\n", rQ, rQ); rQ 3425 src/dps8/dps8_sys.c sim_msg ("rQ %012"PRIo64" (%llu)\n", rQ, rQ); rQ 3434 src/dps8/dps8_sys.c sim_msg ("rQ %012"PRIo64" (%llu)\n", rQ, rQ); rQ 3493 src/dps8/dps8_sys.c sim_msg ("rQ %012"PRIo64" (%llu)\n", rQ, rQ); rQ 3537 src/dps8/dps8_sys.c sim_msg ("rQ %012"PRIo64" (%llu)\n", rQ, rQ); rQ 4066 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);