result 1600 src/decNumber/decNumber.c Int result; // .. result 1607 src/decNumber/decNumber.c result=decCompare(lhs, rhs, 0); // sign matters result 1608 src/decNumber/decNumber.c if (result==BADINT) status|=DEC_Insufficient_storage; // rare result 1610 src/decNumber/decNumber.c if (result==0) decNumberCopySign(res, lhs, rhs); // easy result 1613 src/decNumber/decNumber.c if (result<0) { // lhs<rhs, do nextplus result 5714 src/decNumber/decNumber.c Int result=0; // default result value result 5723 src/decNumber/decNumber.c if (alloclhs==NULL) {result=BADINT; break;} result 5728 src/decNumber/decNumber.c if (allocrhs==NULL) {result=BADINT; break;} result 5740 src/decNumber/decNumber.c result=-1; result 5746 src/decNumber/decNumber.c result=+1; result 5761 src/decNumber/decNumber.c if (!decNumberIsNaN(lhs)) result=-1; result 5762 src/decNumber/decNumber.c else if (!decNumberIsNaN(rhs)) result=+1; result 5764 src/decNumber/decNumber.c else if (decNumberIsSNaN(lhs) && decNumberIsQNaN(rhs)) result=-1; result 5765 src/decNumber/decNumber.c else if (decNumberIsQNaN(lhs) && decNumberIsSNaN(rhs)) result=+1; result 5768 src/decNumber/decNumber.c result=decUnitCompare(lhs->lsu, D2U(lhs->digits), result 5772 src/decNumber/decNumber.c if (decNumberIsNegative(lhs)) result=-result; result 5782 src/decNumber/decNumber.c if (lhs->bits & DECNAN) result=-1; // pick rhs result 5783 src/decNumber/decNumber.c else result=+1; // pick lhs result 5792 src/decNumber/decNumber.c if (op==COMPMAXMAG || op==COMPMINMAG) result=decCompare(lhs, rhs, 1); result 5793 src/decNumber/decNumber.c else result=decCompare(lhs, rhs, 0); // sign matters result 5796 src/decNumber/decNumber.c if (result==BADINT) *status|=DEC_Insufficient_storage; // rare result 5799 src/decNumber/decNumber.c if (op==COMPTOTAL && result==0) { result 5803 src/decNumber/decNumber.c if (lhs->exponent<rhs->exponent) result=-1; result 5804 src/decNumber/decNumber.c else result=+1; result 5805 src/decNumber/decNumber.c if (decNumberIsNegative(lhs)) result=-result; result 5809 src/decNumber/decNumber.c if (result!=0) { // must be -1 or +1 result 5811 src/decNumber/decNumber.c if (result<0) res->bits=DECNEG; result 5819 src/decNumber/decNumber.c if (result==0) { // operands are numerically equal result 5826 src/decNumber/decNumber.c result=+1; result 5831 src/decNumber/decNumber.c if (slhs) result=-1; // rhs is max result 5832 src/decNumber/decNumber.c else result=+1; // lhs is max result 5836 src/decNumber/decNumber.c if (lhs->exponent<rhs->exponent) result=+1; result 5837 src/decNumber/decNumber.c else result=-1; result 5841 src/decNumber/decNumber.c if (lhs->exponent>rhs->exponent) result=+1; result 5842 src/decNumber/decNumber.c else result=-1; result 5847 src/decNumber/decNumber.c if (op==COMPMIN || op==COMPMINMAG) result=-result; result 5848 src/decNumber/decNumber.c choice=(result>0 ? lhs : rhs); // choose result 5875 src/decNumber/decNumber.c Int result; // result value result 5879 src/decNumber/decNumber.c result=1; // assume signum(lhs) result 5880 src/decNumber/decNumber.c if (ISZERO(lhs)) result=0; result 5882 src/decNumber/decNumber.c if (ISZERO(rhs)) return result; // LHS wins or both 0 result 5884 src/decNumber/decNumber.c if (result==0) return -1; // LHS is 0; RHS wins result 5888 src/decNumber/decNumber.c if (result && decNumberIsNegative(lhs)) result=-1; result 5892 src/decNumber/decNumber.c if (result > sigr) return +1; // L > R, return 1 result 5893 src/decNumber/decNumber.c if (result < sigr) return -1; // L < R, return -1 result 5894 src/decNumber/decNumber.c if (result==0) return 0; // both 0 result 5900 src/decNumber/decNumber.c if (decNumberIsInfinite(lhs)) result=0;// both infinite result 5901 src/decNumber/decNumber.c else result=-result; // only rhs infinite result 5903 src/decNumber/decNumber.c return result; result 5911 src/decNumber/decNumber.c result=-result; result 5916 src/decNumber/decNumber.c if (compare!=BADINT) compare*=result; // comparison succeeded result 5944 src/decNumber/decNumber.c Int expunits, exprem, result; // .. result 5983 src/decNumber/decNumber.c if (accunits<0) result=-1; // negative result result 5987 src/decNumber/decNumber.c result=(*u==0 ? 0 : +1); result 5991 src/decNumber/decNumber.c return result; result 51 src/dps8/dps8_iefp.c void Read (cpu_state_t * cpup, word18 address, word36 * result, processor_cycle_type cyctyp) result 73 src/dps8/dps8_iefp.c core_read_lock (cpup, cpu.iefpFinalAddress, result, __func__); result 75 src/dps8/dps8_iefp.c core_read (cpup, cpu.iefpFinalAddress, result, __func__); result 77 src/dps8/dps8_iefp.c core_read (cpup, cpu.iefpFinalAddress, result, __func__); result 81 src/dps8/dps8_iefp.c "readData=%012"PRIo64"\n", address, *result); result 84 src/dps8/dps8_iefp.c HDBGMRead (cpu.iefpFinalAddress, * result, "Read ABS BAR"); result 94 src/dps8/dps8_iefp.c core_read_lock (cpup, address, result, __func__); result 96 src/dps8/dps8_iefp.c core_read (cpup, address, result, __func__); result 98 src/dps8/dps8_iefp.c core_read (cpup, address, result, __func__); result 102 src/dps8/dps8_iefp.c "readData=%012"PRIo64"\n", address, *result); result 105 src/dps8/dps8_iefp.c HDBGMRead (address, * result, "Read ABS"); result 119 src/dps8/dps8_iefp.c cpu.iefpFinalAddress = do_append_cycle (cpup, cyctyp, result, 1); result 123 src/dps8/dps8_iefp.c cpu.iefpFinalAddress, * result); result 126 src/dps8/dps8_iefp.c HDBGAPURead (cpu.TPR.TSR, cpu.TPR.CA, cpu.iefpFinalAddress, * result, "Read BAR"); result 133 src/dps8/dps8_iefp.c cpu.iefpFinalAddress = do_append_cycle (cpup, cyctyp, result, 1); result 140 src/dps8/dps8_iefp.c cpu.iefpFinalAddress, * result); result 143 src/dps8/dps8_iefp.c HDBGAPURead (cpu.TPR.TSR, cpu.TPR.CA, cpu.iefpFinalAddress, * result, "Read"); result 155 src/dps8/dps8_iefp.c void ReadAPUDataRead (cpu_state_t * cpup, word18 address, word36 * result) { result 168 src/dps8/dps8_iefp.c core_read (cpup, cpu.iefpFinalAddress, result, __func__); result 171 src/dps8/dps8_iefp.c address, *result); result 174 src/dps8/dps8_iefp.c HDBGMRead (cpu.iefpFinalAddress, * result, "ReadAPUDataRead ABS BAR"); result 180 src/dps8/dps8_iefp.c core_read (cpup, address, result, __func__); result 183 src/dps8/dps8_iefp.c address, *result); result 186 src/dps8/dps8_iefp.c HDBGMRead (address, * result, "ReadAPUDataRead ABS"); result 198 src/dps8/dps8_iefp.c cpu.iefpFinalAddress = doAppendCycleAPUDataRead (cpup, result, 1); result 201 src/dps8/dps8_iefp.c cpu.iefpFinalAddress, * result); result 204 src/dps8/dps8_iefp.c HDBGAPURead (cpu.TPR.TSR, cpu.TPR.CA, cpu.iefpFinalAddress, * result, "ReadAPUDataRead BAR"); result 208 src/dps8/dps8_iefp.c cpu.iefpFinalAddress = doAppendCycleAPUDataRead (cpup, result, 1); result 213 src/dps8/dps8_iefp.c cpu.iefpFinalAddress, * result); result 216 src/dps8/dps8_iefp.c HDBGAPURead (cpu.TPR.TSR, cpu.TPR.CA, cpu.iefpFinalAddress, * result, "ReadAPUDataRead"); result 225 src/dps8/dps8_iefp.c void ReadOperandRead (cpu_state_t * cpup, word18 address, word36 * result) { result 238 src/dps8/dps8_iefp.c core_read (cpup, cpu.iefpFinalAddress, result, __func__); result 241 src/dps8/dps8_iefp.c address, *result); result 244 src/dps8/dps8_iefp.c HDBGMRead (cpu.iefpFinalAddress, * result, "readOperandRead ABS BAR"); result 250 src/dps8/dps8_iefp.c core_read (cpup, address, result, __func__); result 253 src/dps8/dps8_iefp.c address, *result); result 256 src/dps8/dps8_iefp.c HDBGMRead (address, * result, "readOperandRead ABS"); result 268 src/dps8/dps8_iefp.c cpu.iefpFinalAddress = doAppendCycleOperandRead (cpup, result, 1); result 271 src/dps8/dps8_iefp.c cpu.iefpFinalAddress, * result); result 274 src/dps8/dps8_iefp.c HDBGAPURead (cpu.TPR.TSR, cpu.TPR.CA, cpu.iefpFinalAddress, * result, "readOperandRead BAR"); result 279 src/dps8/dps8_iefp.c cpu.iefpFinalAddress = doAppendCycleOperandRead (cpup, result, 1); result 284 src/dps8/dps8_iefp.c cpu.iefpFinalAddress, * result); result 287 src/dps8/dps8_iefp.c HDBGAPURead (cpu.TPR.TSR, cpu.TPR.CA, cpu.iefpFinalAddress, * result, "readOperandRead"); result 297 src/dps8/dps8_iefp.c void ReadOperandRMW (cpu_state_t * cpup, word18 address, word36 * result) { result 310 src/dps8/dps8_iefp.c core_read_lock (cpup, cpu.iefpFinalAddress, result, __func__); result 313 src/dps8/dps8_iefp.c address, *result); result 316 src/dps8/dps8_iefp.c HDBGMRead (cpu.iefpFinalAddress, * result, "ReadOperandRMW ABS BAR"); result 322 src/dps8/dps8_iefp.c core_read_lock (cpup, address, result, __func__); result 325 src/dps8/dps8_iefp.c address, *result); result 328 src/dps8/dps8_iefp.c HDBGMRead (address, * result, "ReadOperandRMW ABS"); result 340 src/dps8/dps8_iefp.c cpu.iefpFinalAddress = doAppendCycleOperandRMW (cpup, result, 1); result 343 src/dps8/dps8_iefp.c cpu.iefpFinalAddress, * result); result 346 src/dps8/dps8_iefp.c HDBGAPURead (cpu.TPR.TSR, cpu.TPR.CA, cpu.iefpFinalAddress, * result, "ReadOperandRMW BAR"); result 350 src/dps8/dps8_iefp.c cpu.iefpFinalAddress = doAppendCycleOperandRMW (cpup, result, 1); result 355 src/dps8/dps8_iefp.c cpu.iefpFinalAddress, * result); result 358 src/dps8/dps8_iefp.c HDBGAPURead (cpu.TPR.TSR, cpu.TPR.CA, cpu.iefpFinalAddress, * result, "ReadOperandRMW"); result 367 src/dps8/dps8_iefp.c void ReadAPUDataRMW (cpu_state_t * cpup, word18 address, word36 * result) { result 380 src/dps8/dps8_iefp.c core_read_lock (cpup, cpu.iefpFinalAddress, result, __func__); result 383 src/dps8/dps8_iefp.c address, *result); result 386 src/dps8/dps8_iefp.c HDBGMRead (cpu.iefpFinalAddress, * result, "ReadAPUDataRMW ABS BAR"); result 392 src/dps8/dps8_iefp.c core_read_lock (cpup, address, result, __func__); result 395 src/dps8/dps8_iefp.c address, *result); result 398 src/dps8/dps8_iefp.c HDBGMRead (address, * result, "ReadAPUDataRMW ABS"); result 410 src/dps8/dps8_iefp.c cpu.iefpFinalAddress = doAppendCycleAPUDataRMW (cpup, result, 1); result 413 src/dps8/dps8_iefp.c cpu.iefpFinalAddress, * result); result 416 src/dps8/dps8_iefp.c HDBGAPURead (cpu.TPR.TSR, cpu.TPR.CA, cpu.iefpFinalAddress, * result, "ReadAPUDataRMW BAR"); result 420 src/dps8/dps8_iefp.c cpu.iefpFinalAddress = doAppendCycleAPUDataRMW (cpup, result, 1); result 425 src/dps8/dps8_iefp.c cpu.iefpFinalAddress, * result); result 428 src/dps8/dps8_iefp.c HDBGAPURead (cpu.TPR.TSR, cpu.TPR.CA, cpu.iefpFinalAddress, * result, "ReadAPUDataRMW"); result 439 src/dps8/dps8_iefp.c void ReadInstructionFetch (cpu_state_t * cpup, word18 address, word36 * result) { result 452 src/dps8/dps8_iefp.c core_read (cpup, cpu.iefpFinalAddress, result, __func__); result 455 src/dps8/dps8_iefp.c address, *result); result 458 src/dps8/dps8_iefp.c HDBGMRead (cpu.iefpFinalAddress, * result, "ReadInstructionFetch ABS BAR"); result 464 src/dps8/dps8_iefp.c core_read (cpup, address, result, __func__); result 467 src/dps8/dps8_iefp.c address, *result); result 470 src/dps8/dps8_iefp.c HDBGMRead (address, * result, "ReadInstructionFetch ABS"); result 482 src/dps8/dps8_iefp.c cpu.iefpFinalAddress = doAppendCycleInstructionFetch (cpup, result, 1); result 485 src/dps8/dps8_iefp.c cpu.iefpFinalAddress, * result); result 488 src/dps8/dps8_iefp.c HDBGAPURead (cpu.TPR.TSR, cpu.TPR.CA, cpu.iefpFinalAddress, * result, "ReadInstructionFetch BAR"); result 492 src/dps8/dps8_iefp.c cpu.iefpFinalAddress = doAppendCycleInstructionFetch (cpup, result, 1); result 497 src/dps8/dps8_iefp.c cpu.iefpFinalAddress, * result); result 500 src/dps8/dps8_iefp.c HDBGAPURead (cpu.TPR.TSR, cpu.TPR.CA, cpu.iefpFinalAddress, * result, "ReadInstructionFetch"); result 509 src/dps8/dps8_iefp.c void ReadIndirectWordFetch (cpu_state_t * cpup, word18 address, word36 * result) { result 522 src/dps8/dps8_iefp.c core_read (cpup, cpu.iefpFinalAddress, result, __func__); result 525 src/dps8/dps8_iefp.c address, *result); result 528 src/dps8/dps8_iefp.c HDBGMRead (cpu.iefpFinalAddress, * result, "ReadIndirectWordFetch ABS BAR"); result 534 src/dps8/dps8_iefp.c core_read (cpup, address, result, __func__); result 537 src/dps8/dps8_iefp.c address, *result); result 540 src/dps8/dps8_iefp.c HDBGMRead (address, * result, "ReadIndirectWordFetch ABS"); result 552 src/dps8/dps8_iefp.c cpu.iefpFinalAddress = doAppendCycleIndirectWordFetch (cpup, result, 1); result 555 src/dps8/dps8_iefp.c cpu.iefpFinalAddress, * result); result 558 src/dps8/dps8_iefp.c HDBGAPURead (cpu.TPR.TSR, cpu.TPR.CA, cpu.iefpFinalAddress, * result, "ReadIndirectWordFetch BAR"); result 562 src/dps8/dps8_iefp.c cpu.iefpFinalAddress = doAppendCycleIndirectWordFetch (cpup, result, 1); result 567 src/dps8/dps8_iefp.c cpu.iefpFinalAddress, * result); result 570 src/dps8/dps8_iefp.c HDBGAPURead (cpu.TPR.TSR, cpu.TPR.CA, cpu.iefpFinalAddress, * result, "ReadIndirectWordFetch"); result 581 src/dps8/dps8_iefp.c void Read2 (cpu_state_t * cpup, word18 address, word36 * result, processor_cycle_type cyctyp) { result 597 src/dps8/dps8_iefp.c core_read2 (cpup, cpu.iefpFinalAddress, result + 0, result + 1, __func__); result 602 src/dps8/dps8_iefp.c address + i, result [i]); result 606 src/dps8/dps8_iefp.c HDBGMRead (cpu.iefpFinalAddress, * result, "Read2 ABBR evn"); result 607 src/dps8/dps8_iefp.c HDBGMRead (cpu.iefpFinalAddress+1, * (result+1), "Read2 ABBR odd"); result 613 src/dps8/dps8_iefp.c core_read2 (cpup, address, result + 0, result + 1, __func__); result 618 src/dps8/dps8_iefp.c address + i, result [i]); result 622 src/dps8/dps8_iefp.c HDBGMRead (cpu.iefpFinalAddress, * result, "Read2 AB evn"); result 623 src/dps8/dps8_iefp.c HDBGMRead (cpu.iefpFinalAddress+1, * (result+1), "Read2 AB odd"); result 635 src/dps8/dps8_iefp.c cpu.iefpFinalAddress = do_append_cycle (cpup, cyctyp, result, 2); result 640 src/dps8/dps8_iefp.c cpu.iefpFinalAddress + i, result [i]); result 644 src/dps8/dps8_iefp.c HDBGAPURead (cpu.TPR.TSR, cpu.TPR.CA, cpu.iefpFinalAddress, * result, "Read2 BR evn"); result 645 src/dps8/dps8_iefp.c HDBGAPURead (cpu.TPR.TSR, cpu.TPR.CA + 1, cpu.iefpFinalAddress + 1, * (result+1), "Read2 BR odd"); result 649 src/dps8/dps8_iefp.c cpu.iefpFinalAddress = do_append_cycle (cpup, cyctyp, result, 2); result 654 src/dps8/dps8_iefp.c cpu.iefpFinalAddress + i, result [i]); result 661 src/dps8/dps8_iefp.c cpu.iefpFinalAddress + i, result [i]); result 666 src/dps8/dps8_iefp.c HDBGAPURead (cpu.TPR.TSR, cpu.TPR.CA, cpu.iefpFinalAddress, * result, "Read2 evn"); result 667 src/dps8/dps8_iefp.c HDBGAPURead (cpu.TPR.TSR, cpu.TPR.CA + 1, cpu.iefpFinalAddress + 1, * (result+1), "Read2 odd"); result 677 src/dps8/dps8_iefp.c void Read2OperandRead (cpu_state_t * cpup, word18 address, word36 * result) { result 692 src/dps8/dps8_iefp.c core_read2 (cpup, cpu.iefpFinalAddress, result + 0, result + 1, __func__); result 697 src/dps8/dps8_iefp.c address + i, result [i]); result 701 src/dps8/dps8_iefp.c HDBGMRead (cpu.iefpFinalAddress, * result, "Read2OperandRead ABBR evn"); result 702 src/dps8/dps8_iefp.c HDBGMRead (cpu.iefpFinalAddress+1, * (result+1), "Read2OperandRead ABBR odd"); result 708 src/dps8/dps8_iefp.c core_read2 (cpup, address, result + 0, result + 1, __func__); result 713 src/dps8/dps8_iefp.c address + i, result [i]); result 717 src/dps8/dps8_iefp.c HDBGMRead (cpu.iefpFinalAddress, * result, "Read2OperandRead AB evn"); result 718 src/dps8/dps8_iefp.c HDBGMRead (cpu.iefpFinalAddress+1, * (result+1), "Read2OperandRead AB odd"); result 730 src/dps8/dps8_iefp.c cpu.iefpFinalAddress = doAppendCycleOperandRead (cpup, result, 2); result 735 src/dps8/dps8_iefp.c cpu.iefpFinalAddress + i, result [i]); result 739 src/dps8/dps8_iefp.c HDBGAPURead (cpu.TPR.TSR, cpu.TPR.CA, cpu.iefpFinalAddress, * result, "Read2OperandRead BR evn"); result 740 src/dps8/dps8_iefp.c HDBGAPURead (cpu.TPR.TSR, cpu.TPR.CA + 1, cpu.iefpFinalAddress + 1, * (result+1), "Read2OperandRead BR odd"); result 744 src/dps8/dps8_iefp.c cpu.iefpFinalAddress = doAppendCycleOperandRead (cpup, result, 2); result 749 src/dps8/dps8_iefp.c cpu.iefpFinalAddress + i, result [i]); result 755 src/dps8/dps8_iefp.c cpu.iefpFinalAddress + i, result [i]); result 759 src/dps8/dps8_iefp.c HDBGAPURead (cpu.TPR.TSR, cpu.TPR.CA, cpu.iefpFinalAddress, * result, "Read2OperandRead evn"); result 760 src/dps8/dps8_iefp.c HDBGAPURead (cpu.TPR.TSR, cpu.TPR.CA + 1, cpu.iefpFinalAddress + 1, * (result+1), "Read2OperandRead odd"); result 769 src/dps8/dps8_iefp.c void Read2OperandRMW (cpu_state_t * cpup, word18 address, word36 * result) { result 784 src/dps8/dps8_iefp.c core_read2 (cpup, cpu.iefpFinalAddress, result + 0, result + 1, __func__); result 789 src/dps8/dps8_iefp.c address + i, result [i]); result 793 src/dps8/dps8_iefp.c HDBGMRead (cpu.iefpFinalAddress, * result, "Read2OperandRMW ABBR evn"); result 794 src/dps8/dps8_iefp.c HDBGMRead (cpu.iefpFinalAddress+1, * (result+1), "Read2OperandRMW ABBR odd"); result 800 src/dps8/dps8_iefp.c core_read2 (cpup, address, result + 0, result + 1, __func__); result 805 src/dps8/dps8_iefp.c address + i, result [i]); result 809 src/dps8/dps8_iefp.c HDBGMRead (cpu.iefpFinalAddress, * result, "Read2OperandRMW AB evn"); result 810 src/dps8/dps8_iefp.c HDBGMRead (cpu.iefpFinalAddress+1, * (result+1), "Read2OperandRMW AB odd"); result 822 src/dps8/dps8_iefp.c cpu.iefpFinalAddress = doAppendCycleOperandRMW (cpup, result, 2); result 827 src/dps8/dps8_iefp.c cpu.iefpFinalAddress + i, result [i]); result 831 src/dps8/dps8_iefp.c HDBGAPURead (cpu.TPR.TSR, cpu.TPR.CA, cpu.iefpFinalAddress, * result, "Read2OperandRMW BR evn"); result 832 src/dps8/dps8_iefp.c HDBGAPURead (cpu.TPR.TSR, cpu.TPR.CA + 1, cpu.iefpFinalAddress + 1, * (result+1), "Read2OperandRMW BR odd"); result 836 src/dps8/dps8_iefp.c cpu.iefpFinalAddress = doAppendCycleOperandRMW (cpup, result, 2); result 841 src/dps8/dps8_iefp.c cpu.iefpFinalAddress + i, result [i]); result 845 src/dps8/dps8_iefp.c HDBGAPURead (cpu.TPR.TSR, cpu.TPR.CA, cpu.iefpFinalAddress, * result, "Read2OperandRMW evn"); result 846 src/dps8/dps8_iefp.c HDBGAPURead (cpu.TPR.TSR, cpu.TPR.CA + 1, cpu.iefpFinalAddress + 1, * (result+1), "Read2OperandRMW odd"); result 855 src/dps8/dps8_iefp.c void Read2InstructionFetch (cpu_state_t * cpup, word18 address, word36 * result) { result 870 src/dps8/dps8_iefp.c core_read2 (cpup, cpu.iefpFinalAddress, result + 0, result + 1, __func__); result 875 src/dps8/dps8_iefp.c address + i, result [i]); result 879 src/dps8/dps8_iefp.c HDBGMRead (cpu.iefpFinalAddress, * result, "Read2InstructionFetch ABBR evn"); result 880 src/dps8/dps8_iefp.c HDBGMRead (cpu.iefpFinalAddress+1, * (result+1), "Read2InstructionFetch ABBR odd"); result 886 src/dps8/dps8_iefp.c core_read2 (cpup, address, result + 0, result + 1, __func__); result 891 src/dps8/dps8_iefp.c address + i, result [i]); result 895 src/dps8/dps8_iefp.c HDBGMRead (cpu.iefpFinalAddress, * result, "Read2InstructionFetch AB evn"); result 896 src/dps8/dps8_iefp.c HDBGMRead (cpu.iefpFinalAddress+1, * (result+1), "Read2InstructionFetch AB odd"); result 908 src/dps8/dps8_iefp.c cpu.iefpFinalAddress = doAppendCycleInstructionFetch (cpup, result, 2); result 913 src/dps8/dps8_iefp.c cpu.iefpFinalAddress + i, result [i]); result 917 src/dps8/dps8_iefp.c HDBGAPURead (cpu.TPR.TSR, cpu.TPR.CA, cpu.iefpFinalAddress, * result, "Read2InstructionFetch BR evn"); result 918 src/dps8/dps8_iefp.c HDBGAPURead (cpu.TPR.TSR, cpu.TPR.CA + 1, cpu.iefpFinalAddress + 1, * (result+1), "Read2InstructionFetch BR odd"); result 922 src/dps8/dps8_iefp.c cpu.iefpFinalAddress = doAppendCycleInstructionFetch (cpup, result, 2); result 927 src/dps8/dps8_iefp.c cpu.iefpFinalAddress + i, result [i]); result 931 src/dps8/dps8_iefp.c HDBGAPURead (cpu.TPR.TSR, cpu.TPR.CA, cpu.iefpFinalAddress, * result, "Read2InstructionFetch evn"); result 932 src/dps8/dps8_iefp.c HDBGAPURead (cpu.TPR.TSR, cpu.TPR.CA + 1, cpu.iefpFinalAddress + 1, * (result+1), "Read2InstructionFetch odd"); result 940 src/dps8/dps8_iefp.c void Read2RTCDOperandFetch (cpu_state_t * cpup, word18 address, word36 * result) { result 949 src/dps8/dps8_iefp.c cpu.iefpFinalAddress = doAppendCycleRTCDOperandFetch (cpup, result, 2); result 954 src/dps8/dps8_iefp.c cpu.iefpFinalAddress + i, result [i]); result 958 src/dps8/dps8_iefp.c HDBGAPURead (cpu.TPR.TSR, cpu.TPR.CA, cpu.iefpFinalAddress, * result, "Read2 BR evn"); result 959 src/dps8/dps8_iefp.c HDBGAPURead (cpu.TPR.TSR, cpu.TPR.CA + 1, cpu.iefpFinalAddress + 1, * (result+1), "Read2 BR odd"); result 963 src/dps8/dps8_iefp.c cpu.iefpFinalAddress = doAppendCycleRTCDOperandFetch (cpup, result, 2); result 968 src/dps8/dps8_iefp.c cpu.iefpFinalAddress + i, result [i]); result 972 src/dps8/dps8_iefp.c HDBGAPURead (cpu.TPR.TSR, cpu.TPR.CA, cpu.iefpFinalAddress, * result, "Read2 evn"); result 973 src/dps8/dps8_iefp.c HDBGAPURead (cpu.TPR.TSR, cpu.TPR.CA + 1, cpu.iefpFinalAddress + 1, * (result+1), "Read2 odd"); result 979 src/dps8/dps8_iefp.c void Read2IndirectWordFetch (cpu_state_t * cpup, word18 address, word36 * result) { result 994 src/dps8/dps8_iefp.c core_read2 (cpup, cpu.iefpFinalAddress, result + 0, result + 1, __func__); result 999 src/dps8/dps8_iefp.c address + i, result [i]); result 1003 src/dps8/dps8_iefp.c HDBGMRead (cpu.iefpFinalAddress, * result, "Read2IndirectWordFetch ABBR evn"); result 1004 src/dps8/dps8_iefp.c HDBGMRead (cpu.iefpFinalAddress+1, * (result+1), "Read2IndirectWordFetch ABBR odd"); result 1010 src/dps8/dps8_iefp.c core_read2 (cpup, address, result + 0, result + 1, __func__); result 1015 src/dps8/dps8_iefp.c address + i, result [i]); result 1019 src/dps8/dps8_iefp.c HDBGMRead (cpu.iefpFinalAddress, * result, "Read2IndirectWordFetch AB evn"); result 1020 src/dps8/dps8_iefp.c HDBGMRead (cpu.iefpFinalAddress+1, * (result+1), "Read2IndirectWordFetch AB odd"); result 1032 src/dps8/dps8_iefp.c cpu.iefpFinalAddress = doAppendCycleIndirectWordFetch (cpup, result, 2); result 1037 src/dps8/dps8_iefp.c cpu.iefpFinalAddress + i, result [i]); result 1041 src/dps8/dps8_iefp.c HDBGAPURead (cpu.TPR.TSR, cpu.TPR.CA, cpu.iefpFinalAddress, * result, "Read2IndirectWordFetch BR evn"); result 1042 src/dps8/dps8_iefp.c HDBGAPURead (cpu.TPR.TSR, cpu.TPR.CA + 1, cpu.iefpFinalAddress + 1, * (result+1), "Read2IndirectWordFetch BR odd"); result 1046 src/dps8/dps8_iefp.c cpu.iefpFinalAddress = doAppendCycleIndirectWordFetch (cpup, result, 2); result 1051 src/dps8/dps8_iefp.c cpu.iefpFinalAddress + i, result [i]); result 1055 src/dps8/dps8_iefp.c HDBGAPURead (cpu.TPR.TSR, cpu.TPR.CA, cpu.iefpFinalAddress, * result, "Read2IndirectWordFetch evn"); result 1056 src/dps8/dps8_iefp.c HDBGAPURead (cpu.TPR.TSR, cpu.TPR.CA + 1, cpu.iefpFinalAddress + 1, * (result+1), "Read2IndirectWordFetch odd"); result 1065 src/dps8/dps8_iefp.c void Read8 (cpu_state_t * cpup, word18 address, word36 * result, bool isAR) result 1086 src/dps8/dps8_iefp.c core_readN (cpup, cpu.iefpFinalAddress, result, 8, __func__); result 1093 src/dps8/dps8_iefp.c address + i, result [i]); result 1098 src/dps8/dps8_iefp.c HDBGMRead (cpu.iefpFinalAddress + i, result [i], "Read8 ABBR"); result 1106 src/dps8/dps8_iefp.c core_readN (cpup, address, result, 8, __func__); result 1113 src/dps8/dps8_iefp.c address + i, result [i]); result 1118 src/dps8/dps8_iefp.c HDBGMRead (address + i, result [i], "Read8 ABS"); result 1133 src/dps8/dps8_iefp.c cpu.iefpFinalAddress = doAppendCycleAPUDataRead (cpup, result, 8); result 1140 src/dps8/dps8_iefp.c cpu.iefpFinalAddress + i, result [i]); result 1145 src/dps8/dps8_iefp.c HDBGAPURead (cpu.TPR.TSR, cpu.TPR.CA + i, cpu.iefpFinalAddress + i, result[i], "Read8 BAR"); result 1152 src/dps8/dps8_iefp.c cpu.iefpFinalAddress = doAppendCycleAPUDataRead (cpup, result, 8); result 1162 src/dps8/dps8_iefp.c cpu.iefpFinalAddress + i, result [i]); result 1167 src/dps8/dps8_iefp.c HDBGAPURead (cpu.TPR.TSR, cpu.TPR.CA + i, cpu.iefpFinalAddress + i, result [i], "Read8"); result 1176 src/dps8/dps8_iefp.c void Read16 (cpu_state_t * cpup, word18 address, word36 * result) result 1179 src/dps8/dps8_iefp.c Read8 (cpup, address, result, cpu.currentInstruction.b29); result 1180 src/dps8/dps8_iefp.c Read8 (cpup, address + 8, result + 8, cpu.currentInstruction.b29); result 1184 src/dps8/dps8_iefp.c void ReadPage (cpu_state_t * cpup, word18 address, word36 * result, bool isAR) result 1210 src/dps8/dps8_iefp.c core_readN (cpup, cpu.iefpFinalAddress, result, PGSZ, __func__); result 1217 src/dps8/dps8_iefp.c address + i, result [i]); result 1222 src/dps8/dps8_iefp.c HDBGMRead (cpu.iefpFinalAddress + i, result [i], "ReadPage AB"); result 1230 src/dps8/dps8_iefp.c core_readN (cpup, address, result, PGSZ, __func__); result 1237 src/dps8/dps8_iefp.c address + i, result [i]); result 1242 src/dps8/dps8_iefp.c HDBGMRead (address + i, result [i], "ReadPage ABS"); result 1257 src/dps8/dps8_iefp.c cpu.iefpFinalAddress = doAppendCycleAPUDataRead (cpup, result, PGSZ); result 1264 src/dps8/dps8_iefp.c cpu.iefpFinalAddress + i, result [i]); result 1269 src/dps8/dps8_iefp.c HDBGAPURead (cpu.TPR.TSR, cpu.TPR.CA + i, cpu.iefpFinalAddress + i, result [i], "ReadPage B"); result 1277 src/dps8/dps8_iefp.c cpu.iefpFinalAddress = doAppendCycleAPUDataRead (cpup, result, PGSZ); result 1287 src/dps8/dps8_iefp.c cpu.iefpFinalAddress + i, result [i]); result 1292 src/dps8/dps8_iefp.c HDBGAPURead (cpu.TPR.TSR, cpu.TPR.CA + i, cpu.iefpFinalAddress + i, result [i], "ReadPage"); result 57 src/dps8/dps8_iefp.h void ReadIndirectWordFetch (cpu_state_t * cpup, word18 address, word36 * result); result 58 src/dps8/dps8_iefp.h void Read2OperandRead (cpu_state_t * cpup, word18 address, word36 * result); result 60 src/dps8/dps8_iefp.h void Read2OperandRMW (cpu_state_t * cpup, word18 address, word36 * result); result 62 src/dps8/dps8_iefp.h void Read2InstructionFetch (cpu_state_t * cpup, word18 address, word36 * result); result 63 src/dps8/dps8_iefp.h void Read2RTCDOperandFetch (cpu_state_t * cpup, word18 address, word36 * result); result 64 src/dps8/dps8_iefp.h void Read2IndirectWordFetch (cpu_state_t * cpup, word18 address, word36 * result); result 73 src/dps8/dps8_iefp.h void Read8 (cpu_state_t * cpup, word18 address, word36 * result, bool isAR); result 74 src/dps8/dps8_iefp.h void Read16 (cpu_state_t * cpup, word18 address, word36 * result); result 76 src/dps8/dps8_iefp.h void ReadPage (cpu_state_t * cpup, word18 address, word36 * result, bool isAR); result 61 src/dps8/dps8_ins.c static int doABSA (cpu_state_t * cpup, word36 * result); result 1109 src/dps8/dps8_ins.c static char result[132] = "???"; result 1110 src/dps8/dps8_ins.c strcpy (result, "???"); result 1113 src/dps8/dps8_ins.c strcpy (result, opcodes10[opcode | (opcodeX ? 01000 : 0)].mne); result 1115 src/dps8/dps8_ins.c strcat (result, " prn|nnnn"); result 1117 src/dps8/dps8_ins.c strcat (result, " nnnn"); result 1122 src/dps8/dps8_ins.c strcat (result, ","); result 1123 src/dps8/dps8_ins.c strcat (result, extMods[tag].mod); result 1125 src/dps8/dps8_ins.c if (result[0] == '?') result 1129 src/dps8/dps8_ins.c sim_printf ("%20"PRId64": %s\n", count, result); result 1132 src/dps8/dps8_ins.c static char result[132] = "???"; result 1133 src/dps8/dps8_ins.c strcpy (result, "???"); result 1137 src/dps8/dps8_ins.c strcpy (result, opcodes10[opcode | (opcodeX ? 01000 : 0)].mne); result 1138 src/dps8/dps8_ins.c sim_printf ("%20"PRId64": %s\n", total, result); result 8663 src/dps8/dps8_ins.c word36 result; result 8664 src/dps8/dps8_ins.c int rc = doABSA (cpup, & result); result 8667 src/dps8/dps8_ins.c cpu.rA = result; result 9816 src/dps8/dps8_ins.c static int doABSA (cpu_state_t * cpup, word36 * result) result 9825 src/dps8/dps8_ins.c * result = ((word36) (cpu.TPR.CA & MASK18)) << 12; // 24:12 format result 9838 src/dps8/dps8_ins.c * result = res; result 187 src/dps8/dps8_math.c word72 result = 0; result 194 src/dps8/dps8_math.c putbits72 (& result, 71-62, 1, 1); result 205 src/dps8/dps8_math.c putbits72 (& result, 71-n, 1, 1); result 219 src/dps8/dps8_math.c result = -result & (((word72)1 << 64) - 1); result 226 src/dps8/dps8_math.c putbits72 (& result, 71-64, 8, e & 0377); result 230 src/dps8/dps8_math.c return result; result 308 src/dps8/dps8_math.c word72 result = 0; result 314 src/dps8/dps8_math.c result = putbits72 (& result, 71-63, 1, 1); result 325 src/dps8/dps8_math.c putbits72 (& result 71-n, 1, 1); result 335 src/dps8/dps8_math.c result = -result & (((word72)1 << 72) - 1); result 338 src/dps8/dps8_math.c cpu . rA = (result >> 36) & MASK36; result 342 src/dps8/dps8_math.c cpu . rQ = result & MASK36; result 402 src/dps8/dps8_math.c result 412 src/dps8/dps8_math.c result 423 src/dps8/dps8_math.c result 429 src/dps8/dps8_math.c result 433 src/dps8/dps8_math.c result 943 src/dps8/dps8_math128.c void __udivmodti3(UTItype div, UTItype dvd,UTItype *result,UTItype *remain); result 949 src/dps8/dps8_math128.c UTItype result,remain; result 951 src/dps8/dps8_math128.c __udivmodti3(div,dvd,&result,&remain); result 953 src/dps8/dps8_math128.c return result; result 956 src/dps8/dps8_math128.c void __udivmodti3(UTItype div, UTItype dvd,UTItype *result,UTItype *remain) result 961 src/dps8/dps8_math128.c *result = (UTItype)0; result 982 src/dps8/dps8_math128.c *result += z2; result 1035 src/dps8/dps8_math128.c UTItype result,remain; result 1037 src/dps8/dps8_math128.c __udivmodti3(div,dvd,&result,&remain); result 1044 src/dps8/dps8_math128.c TItype result = (TItype)0; result 1056 src/dps8/dps8_math128.c result += v; result 1062 src/dps8/dps8_math128.c return -result; result 1064 src/dps8/dps8_math128.c return result; result 88 src/dps8/dps8_utils.c char *disassemble(char * result, word36 instruction) result 99 src/dps8/dps8_utils.c strcpy(result, "???"); result 103 src/dps8/dps8_utils.c strcpy(result, opcodes10[opcode10].mne); result 115 src/dps8/dps8_utils.c strcat (result, buff); result 119 src/dps8/dps8_utils.c strcat (result, buff); result 134 src/dps8/dps8_utils.c strcat(result, ","); result 135 src/dps8/dps8_utils.c strcat(result, buff); result 138 src/dps8/dps8_utils.c return dps8_strupr(result); result 1472 src/dps8/dps8_utils.c int cfg_parse (const char * tag, const char * cptr, config_list_t * clist, config_state_t * state, int64_t * result) result 1562 src/dps8/dps8_utils.c * result = v -> value; result 1594 src/dps8/dps8_utils.c * result = n; result 2007 src/dps8/dps8_utils.c struct timespec * result) result 2010 src/dps8/dps8_utils.c result->tv_sec = stop->tv_sec - start->tv_sec - 1; result 2011 src/dps8/dps8_utils.c result->tv_nsec = stop->tv_nsec - start->tv_nsec + 1000000000L; result 2013 src/dps8/dps8_utils.c result->tv_sec = stop->tv_sec - start->tv_sec; result 2014 src/dps8/dps8_utils.c result->tv_nsec = stop->tv_nsec - start->tv_nsec; result 40 src/dps8/dps8_utils.h int cfg_parse (const char * tag, const char * cptr, config_list_t * clist, config_state_t * state, int64_t * result); result 45 src/dps8/dps8_utils.h char *disassemble(char * result, word36 instruction); result 326 src/dps8/dps8_utils.h word36 result = (x & ~ mask) | ((val&MASKBITS(n)) << (36 - p - n)); result 327 src/dps8/dps8_utils.h return result; result 342 src/dps8/dps8_utils.h word36 result = (x & ~ smask) | (((word36) val & mask) << shift); result 343 src/dps8/dps8_utils.h return result; result 358 src/dps8/dps8_utils.h word36 result = (x & ~ smask) | (((word36) val & mask) << shift); result 359 src/dps8/dps8_utils.h return result; result 374 src/dps8/dps8_utils.h word36 result = (x & ~ smask) | (((word36) val & mask) << shift); result 375 src/dps8/dps8_utils.h return result; result 390 src/dps8/dps8_utils.h word36 result = (x & ~ smask) | (((word36) val & mask) << shift); result 391 src/dps8/dps8_utils.h return result; result 406 src/dps8/dps8_utils.h word36 result = (x & ~ smask) | (((word36) val & mask) << shift); result 407 src/dps8/dps8_utils.h return result; result 422 src/dps8/dps8_utils.h word36 result = (x & ~ smask) | (((word36) val & mask) << shift); result 423 src/dps8/dps8_utils.h return result; result 438 src/dps8/dps8_utils.h word36 result = (x & ~ smask) | (((word36) val & mask) << shift); result 439 src/dps8/dps8_utils.h return result; result 454 src/dps8/dps8_utils.h word36 result = (x & ~ smask) | (((word36) val & mask) << shift); result 455 src/dps8/dps8_utils.h return result; result 897 src/dps8/dps8_utils.h struct timespec *result); result 3567 src/simh/scp.c t_bool result; result 3638 src/simh/scp.c result = sim_cmp_string (gbuf, gbuf2); result 3639 src/simh/scp.c result = ((result == optr->aval) || (result == optr->bval)); result 3641 src/simh/scp.c result = !result; result 3694 src/simh/scp.c result = test_search (&val, &sim_stabr); /* test condition */ result 3712 src/simh/scp.c result = test_search (sim_eval, &sim_staba); /* test condition */ result 3715 src/simh/scp.c if (Not ^ result) { result 4868 src/simh/scp.c int result = GetUCRTVersion (&ucrtversion); result 4870 src/simh/scp.c if (result == 0) result 185 src/simh/sim_sock.c struct addrinfo *result = NULL; result 294 src/simh/sim_sock.c s_freeaddrinfo(result); result 307 src/simh/sim_sock.c s_freeaddrinfo(result); result 314 src/simh/sim_sock.c if (NULL == result) result 315 src/simh/sim_sock.c result = ai; result 321 src/simh/sim_sock.c result->ai_canonname = (char *)calloc(1, strlen(cname)+1); result 322 src/simh/sim_sock.c if (NULL == result->ai_canonname) { result 323 src/simh/sim_sock.c s_freeaddrinfo(result); result 326 src/simh/sim_sock.c strcpy(result->ai_canonname, cname); result 328 src/simh/sim_sock.c *res = result; result 804 src/simh/sim_sock.c struct addrinfo *result = NULL, *preferred; result 817 src/simh/sim_sock.c if (p_getaddrinfo(host[0] ? host : NULL, port[0] ? port : NULL, &hints, &result)) { result 822 src/simh/sim_sock.c preferred = result; result 833 src/simh/sim_sock.c preferred = result; result 847 src/simh/sim_sock.c (preferred != result)) { result 848 src/simh/sim_sock.c preferred = result; result 852 src/simh/sim_sock.c p_freeaddrinfo(result); result 874 src/simh/sim_sock.c p_freeaddrinfo(result); result 896 src/simh/sim_sock.c struct addrinfo *result = NULL, *source = NULL; result 905 src/simh/sim_sock.c if (p_getaddrinfo(host[0] ? host : NULL, port[0] ? port : NULL, &hints, &result)) result 911 src/simh/sim_sock.c p_freeaddrinfo (result); result 917 src/simh/sim_sock.c hints.ai_family = result->ai_family; /* Same family as connect destination */ result 921 src/simh/sim_sock.c p_freeaddrinfo (result); result 925 src/simh/sim_sock.c newsock = sim_create_sock (result->ai_family, opt_flags & SIM_SOCK_OPT_DATAGRAM);/* create socket */ result 927 src/simh/sim_sock.c p_freeaddrinfo (result); result 936 src/simh/sim_sock.c p_freeaddrinfo (result); result 942 src/simh/sim_sock.c newsock = sim_create_sock (result->ai_family, opt_flags & SIM_SOCK_OPT_DATAGRAM);/* create socket */ result 944 src/simh/sim_sock.c p_freeaddrinfo (result); result 952 src/simh/sim_sock.c p_freeaddrinfo (result); result 959 src/simh/sim_sock.c p_freeaddrinfo (result); result 976 src/simh/sim_sock.c sta = connect (newsock, result->ai_addr, result->ai_addrlen); result 977 src/simh/sim_sock.c p_freeaddrinfo (result); result 1015 src/simh/sim_tape.c t_stat result; result 1024 src/simh/sim_tape.c result = sim_tape_wrdata (uptr, MTR_EOM); /* write the EOM marker */ result 1029 src/simh/sim_tape.c return result; result 2097 src/simh/sim_tape.c t_stat result = SCPE_OK; result 2113 src/simh/sim_tape.c new_bpi = (uint32) get_uint (cptr, 10, UINT_MAX, &result); /* convert the string value */ result 2115 src/simh/sim_tape.c if (result != SCPE_OK) /* if the conversion failed */ result 2126 src/simh/sim_tape.c result = SCPE_ARG; /* if no match, then report a bad argument */ result 2129 src/simh/sim_tape.c return result; /* return the result of the operation */ result 3795 src/simh/sim_tmxr.c t_stat result = SCPE_OK; result 3829 src/simh/sim_tmxr.c result = SCPE_ARG; /* "Invalid argument" error */ result 3834 src/simh/sim_tmxr.c result = SCPE_SUB; /* "Subscript out of range" error */ result 3853 src/simh/sim_tmxr.c if (result == SCPE_OK) { /* assignment successful? */ result 3868 src/simh/sim_tmxr.c return result;