ovf 9150 src/dps8/dps8_eis.c ovf 9231 src/dps8/dps8_eis.c ovf 2336 src/dps8/dps8_ins.c static inline void overflow (cpu_state_t * cpup, bool ovf, bool dly, const char * msg) ovf 2341 src/dps8/dps8_ins.c if (ovf && chkOVF (cpup)) ovf 3055 src/dps8/dps8_ins.c bool ovf; ovf 3057 src/dps8/dps8_ins.c & cpu.cu.IR, & ovf); ovf 3058 src/dps8/dps8_ins.c overflow (cpup, ovf, true, "aos overflow fault"); ovf 3364 src/dps8/dps8_ins.c bool ovf; ovf 3369 src/dps8/dps8_ins.c & cpu.cu.IR, & ovf); ovf 3373 src/dps8/dps8_ins.c overflow (cpup, ovf, false, "adq overflow fault"); ovf 3606 src/dps8/dps8_ins.c bool ovf; ovf 3607 src/dps8/dps8_ins.c cpu.rA = compl36 (cpup, cpu.CY, & cpu.cu.IR, & ovf); ovf 3611 src/dps8/dps8_ins.c overflow (cpup, ovf, false, "lca overflow fault"); ovf 3617 src/dps8/dps8_ins.c bool ovf; ovf 3618 src/dps8/dps8_ins.c cpu.rQ = compl36 (cpup, cpu.CY, & cpu.cu.IR, & ovf); ovf 3622 src/dps8/dps8_ins.c overflow (cpup, ovf, false, "lcq overflow fault"); ovf 3636 src/dps8/dps8_ins.c bool ovf; ovf 3638 src/dps8/dps8_ins.c cpu.rX[n] = compl18 (cpup, GETHI (cpu.CY), & cpu.cu.IR, & ovf); ovf 3642 src/dps8/dps8_ins.c overflow (cpup, ovf, false, "lcxn overflow fault"); ovf 4583 src/dps8/dps8_ins.c bool ovf; ovf 4584 src/dps8/dps8_ins.c cpu.rA = Add36b (cpup, cpu.rA, cpu.CY, 0, I_ZNOC, & cpu.cu.IR, & ovf); ovf 4588 src/dps8/dps8_ins.c overflow (cpup, ovf, false, "ada overflow fault"); ovf 4600 src/dps8/dps8_ins.c bool ovf; ovf 4603 src/dps8/dps8_ins.c tmp72, 0, I_ZNOC, & cpu.cu.IR, & ovf); ovf 4609 src/dps8/dps8_ins.c overflow (cpup, ovf, false, "adaq overflow fault"); ovf 4621 src/dps8/dps8_ins.c bool ovf; ovf 4624 src/dps8/dps8_ins.c tmp72, 0, I_ZNOC, & cpu.cu.IR, & ovf); ovf 4630 src/dps8/dps8_ins.c overflow (cpup, ovf, false, "adl overflow fault"); ovf 4645 src/dps8/dps8_ins.c bool ovf; ovf 4649 src/dps8/dps8_ins.c tmp72, 0, I_ZNC, & cpu.cu.IR, & ovf); ovf 4669 src/dps8/dps8_ins.c bool ovf; ovf 4670 src/dps8/dps8_ins.c cpu.rA = Add36b (cpup, cpu.rA, cpu.CY, 0, I_ZNC, & cpu.cu.IR, & ovf); ovf 4688 src/dps8/dps8_ins.c bool ovf; ovf 4689 src/dps8/dps8_ins.c cpu.rQ = Add36b (cpup, cpu.rQ, cpu.CY, 0, I_ZNC, & cpu.cu.IR, & ovf); ovf 4711 src/dps8/dps8_ins.c bool ovf; ovf 4713 src/dps8/dps8_ins.c & cpu.cu.IR, & ovf); ovf 4738 src/dps8/dps8_ins.c bool ovf; ovf 4741 src/dps8/dps8_ins.c & cpu.cu.IR, & ovf); ovf 4745 src/dps8/dps8_ins.c overflow (cpup, ovf, false, "adxn overflow fault"); ovf 4760 src/dps8/dps8_ins.c bool ovf; ovf 4762 src/dps8/dps8_ins.c & cpu.cu.IR, & ovf); ovf 4763 src/dps8/dps8_ins.c overflow (cpup, ovf, true, "asa overflow fault"); ovf 4774 src/dps8/dps8_ins.c bool ovf; ovf 4775 src/dps8/dps8_ins.c cpu.CY = Add36b (cpup, cpu.rQ, cpu.CY, 0, I_ZNOC, & cpu.cu.IR, & ovf); ovf 4776 src/dps8/dps8_ins.c overflow (cpup, ovf, true, "asq overflow fault"); ovf 4797 src/dps8/dps8_ins.c bool ovf; ovf 4799 src/dps8/dps8_ins.c I_ZNOC, & cpu.cu.IR, & ovf); ovf 4801 src/dps8/dps8_ins.c overflow (cpup, ovf, true, "asxn overflow fault"); ovf 4814 src/dps8/dps8_ins.c bool ovf; ovf 4816 src/dps8/dps8_ins.c I_ZNOC, & cpu.cu.IR, & ovf); ovf 4820 src/dps8/dps8_ins.c overflow (cpup, ovf, false, "awca overflow fault"); ovf 4833 src/dps8/dps8_ins.c bool ovf; ovf 4835 src/dps8/dps8_ins.c I_ZNOC, & cpu.cu.IR, & ovf); ovf 4839 src/dps8/dps8_ins.c overflow (cpup, ovf, false, "awcq overflow fault"); ovf 4853 src/dps8/dps8_ins.c bool ovf; ovf 4854 src/dps8/dps8_ins.c cpu.rA = Sub36b (cpup, cpu.rA, cpu.CY, 1, I_ZNOC, & cpu.cu.IR, & ovf); ovf 4858 src/dps8/dps8_ins.c overflow (cpup, ovf, false, "sba overflow fault"); ovf 4870 src/dps8/dps8_ins.c bool ovf; ovf 4874 src/dps8/dps8_ins.c & ovf); ovf 4880 src/dps8/dps8_ins.c overflow (cpup, ovf, false, "sbaq overflow fault"); ovf 4892 src/dps8/dps8_ins.c bool ovf; ovf 4893 src/dps8/dps8_ins.c cpu.rA = Sub36b (cpup, cpu.rA, cpu.CY, 1, I_ZNC, & cpu.cu.IR, & ovf); ovf 4913 src/dps8/dps8_ins.c bool ovf; ovf 4917 src/dps8/dps8_ins.c I_ZNC, & cpu.cu.IR, & ovf); ovf 4933 src/dps8/dps8_ins.c bool ovf; ovf 4934 src/dps8/dps8_ins.c cpu.rQ = Sub36b (cpup, cpu.rQ, cpu.CY, 1, I_ZNC, & cpu.cu.IR, & ovf); ovf 4959 src/dps8/dps8_ins.c bool ovf; ovf 4961 src/dps8/dps8_ins.c I_ZNC, & cpu.cu.IR, & ovf); ovf 4975 src/dps8/dps8_ins.c bool ovf; ovf 4976 src/dps8/dps8_ins.c cpu.rQ = Sub36b (cpup, cpu.rQ, cpu.CY, 1, I_ZNOC, & cpu.cu.IR, & ovf); ovf 4980 src/dps8/dps8_ins.c overflow (cpup, ovf, false, "sbq overflow fault"); ovf 5002 src/dps8/dps8_ins.c bool ovf; ovf 5004 src/dps8/dps8_ins.c I_ZNOC, & cpu.cu.IR, & ovf); ovf 5008 src/dps8/dps8_ins.c overflow (cpup, ovf, false, "sbxn overflow fault"); ovf 5020 src/dps8/dps8_ins.c bool ovf; ovf 5021 src/dps8/dps8_ins.c cpu.CY = Sub36b (cpup, cpu.rA, cpu.CY, 1, I_ZNOC, & cpu.cu.IR, & ovf); ovf 5022 src/dps8/dps8_ins.c overflow (cpup, ovf, true, "ssa overflow fault"); ovf 5034 src/dps8/dps8_ins.c bool ovf; ovf 5035 src/dps8/dps8_ins.c cpu.CY = Sub36b (cpup, cpu.rQ, cpu.CY, 1, I_ZNOC, & cpu.cu.IR, & ovf); ovf 5036 src/dps8/dps8_ins.c overflow (cpup, ovf, true, "ssq overflow fault"); ovf 5058 src/dps8/dps8_ins.c bool ovf; ovf 5060 src/dps8/dps8_ins.c I_ZNOC, & cpu.cu.IR, & ovf); ovf 5062 src/dps8/dps8_ins.c overflow (cpup, ovf, true, "ssxn overflow fault"); ovf 5075 src/dps8/dps8_ins.c bool ovf; ovf 5077 src/dps8/dps8_ins.c I_ZNOC, & cpu.cu.IR, & ovf); ovf 5081 src/dps8/dps8_ins.c overflow (cpup, ovf, false, "swca overflow fault"); ovf 5094 src/dps8/dps8_ins.c bool ovf; ovf 5096 src/dps8/dps8_ins.c I_ZNOC, & cpu.cu.IR, & ovf); ovf 5100 src/dps8/dps8_ins.c overflow (cpup, ovf, false, "swcq overflow fault"); ovf 604 src/dps8/dps8_math.c bool ovf; ovf 606 src/dps8/dps8_math.c m3 = Add72b (cpup, m1, m2, 0, I_CARRY, & cpu.cu.IR, & ovf); ovf 612 src/dps8/dps8_math.c if (ovf) { ovf 1562 src/dps8/dps8_math.c bool ovf; ovf 1575 src/dps8/dps8_math.c m = Add72b (cpup, m, construct_128 (0, 0177777777777777LL), carry, I_OFLOW, & flags1, & ovf); ovf 1577 src/dps8/dps8_math.c m = Add72b (cpup, m, 0177777777777777LL, carry, I_OFLOW, & flags1, & ovf); ovf 1593 src/dps8/dps8_math.c SC_I_OFLOW(ovf); ovf 1634 src/dps8/dps8_math.c bool ovf; ovf 1647 src/dps8/dps8_math.c m = Add72b (cpup, m, construct_128 (0, 0177777777777777LL), carry, I_OFLOW, & flags1, & ovf); ovf 1649 src/dps8/dps8_math.c m = Add72b (cpup, m, 0177777777777777LL, carry, I_OFLOW, & flags1, & ovf); ovf 1665 src/dps8/dps8_math.c SC_I_OFLOW(ovf); ovf 2126 src/dps8/dps8_math.c bool ovf; ovf 2127 src/dps8/dps8_math.c word72 m3 = Add72b (cpup, m1, m2, 0, I_CARRY, & cpu.cu.IR, & ovf); ovf 2131 src/dps8/dps8_math.c if (ovf) { ovf 3173 src/dps8/dps8_math.c bool ovf; ovf 3186 src/dps8/dps8_math.c m = Add72b (cpup, m, construct_128 (0, 0177), carry, I_OFLOW, & flags1, & ovf); ovf 3188 src/dps8/dps8_math.c m = Add72b (cpup, m, 0177, carry, I_OFLOW, & flags1, & ovf); ovf 3204 src/dps8/dps8_math.c SC_I_OFLOW (ovf); ovf 3261 src/dps8/dps8_math.c bool ovf; ovf 3274 src/dps8/dps8_math.c m = Add72b (cpup, m, construct_128 (0, 0177), carry, I_OFLOW, & flags1, & ovf); ovf 3276 src/dps8/dps8_math.c m = Add72b (cpup, m, 0177, carry, I_OFLOW, & flags1, & ovf); ovf 3293 src/dps8/dps8_math.c SC_I_OFLOW(ovf); ovf 172 src/dps8/dps8_utils.c word36 Add36b (cpu_state_t * cpup, word36 op1, word36 op2, word1 carryin, word18 flagsToSet, word18 * flags, bool * ovf) ovf 203 src/dps8/dps8_utils.c * ovf = r37 ^ r36; ovf 213 src/dps8/dps8_utils.c if (ovf) CPT (cpt2L, 29); // ovf ovf 228 src/dps8/dps8_utils.c if (* ovf) ovf 248 src/dps8/dps8_utils.c sim_debug (DBG_TRACEEXT, & cpu_dev, "Add36b res %012"PRIo64" flags %06o ovf %o\n", res, * flags, * ovf); ovf 252 src/dps8/dps8_utils.c word36 Sub36b (cpu_state_t * cpup, word36 op1, word36 op2, word1 carryin, word18 flagsToSet, word18 * flags, bool * ovf) ovf 291 src/dps8/dps8_utils.c * ovf = r37 ^ r36; ovf 298 src/dps8/dps8_utils.c if (ovf) CPT (cpt2L, 29); // ovf ovf 313 src/dps8/dps8_utils.c if (* ovf) ovf 336 src/dps8/dps8_utils.c word18 Add18b (cpu_state_t * cpup, word18 op1, word18 op2, word1 carryin, word18 flagsToSet, word18 * flags, bool * ovf) ovf 367 src/dps8/dps8_utils.c * ovf = r19 ^ r18; ovf 374 src/dps8/dps8_utils.c if (ovf) CPT (cpt2L, 29); // ovf ovf 389 src/dps8/dps8_utils.c if (* ovf) ovf 412 src/dps8/dps8_utils.c word18 Sub18b (cpu_state_t * cpup, word18 op1, word18 op2, word1 carryin, word18 flagsToSet, word18 * flags, bool * ovf) ovf 451 src/dps8/dps8_utils.c * ovf = r19 ^ r18; ovf 458 src/dps8/dps8_utils.c if (ovf) CPT (cpt2L, 29); // ovf ovf 473 src/dps8/dps8_utils.c if (* ovf) ovf 496 src/dps8/dps8_utils.c word72 Add72b (cpu_state_t * cpup, word72 op1, word72 op2, word1 carryin, word18 flagsToSet, word18 * flags, bool * ovf) ovf 557 src/dps8/dps8_utils.c * ovf = r73 ^ r72; ovf 564 src/dps8/dps8_utils.c if (ovf) CPT (cpt2L, 29); // ovf ovf 579 src/dps8/dps8_utils.c if (* ovf) ovf 610 src/dps8/dps8_utils.c word72 Sub72b (cpu_state_t * cpup, word72 op1, word72 op2, word1 carryin, word18 flagsToSet, word18 * flags, bool * ovf) ovf 693 src/dps8/dps8_utils.c (word36) (rshift_128 (res, 36).l & MASK36), (word36) (res.l & MASK36), * flags, * ovf); ovf 696 src/dps8/dps8_utils.c (word36) ((res >> 36) & MASK36), (word36) (res & MASK36), * flags, * ovf); ovf 723 src/dps8/dps8_utils.c * ovf = r73 ^ r72; ovf 730 src/dps8/dps8_utils.c if (ovf) CPT (cpt2L, 29); // ovf ovf 745 src/dps8/dps8_utils.c if (* ovf) ovf 775 src/dps8/dps8_utils.c (word36) (rshift_128 (res, 36).l & MASK36), (word36) (res.l & MASK36), * flags, * ovf); ovf 778 src/dps8/dps8_utils.c (word36) ((res >> 36) & MASK36), (word36) (res & MASK36), * flags, * ovf); ovf 784 src/dps8/dps8_utils.c word36 compl36(cpu_state_t * cpup, word36 op1, word18 *flags, bool * ovf) ovf 795 src/dps8/dps8_utils.c * ovf = op1 == MAXNEG; ovf 798 src/dps8/dps8_utils.c if (* ovf) CPT (cpt2L, 29); // ovf ovf 803 src/dps8/dps8_utils.c if (chkOVF (cpup) && * ovf) ovf 820 src/dps8/dps8_utils.c word18 compl18(cpu_state_t * cpup, word18 op1, word18 *flags, bool * ovf) ovf 831 src/dps8/dps8_utils.c * ovf = op1 == MAX18NEG; ovf 833 src/dps8/dps8_utils.c if (* ovf) CPT (cpt2L, 29); // ovf ovf 838 src/dps8/dps8_utils.c if (chkOVF (cpup) && * ovf) ovf 2022 src/dps8/dps8_utils.c ovf 2031 src/dps8/dps8_utils.c ovf 2044 src/dps8/dps8_utils.c ovf 2049 src/dps8/dps8_utils.c ovf 50 src/dps8/dps8_utils.h word36 compl36(cpu_state_t * cpup, word36 op1, word18 *flags, bool * ovf); ovf 51 src/dps8/dps8_utils.h word18 compl18(cpu_state_t * cpup, word18 op1, word18 *flags, bool * ovf); ovf 889 src/dps8/dps8_utils.h word36 Add36b (cpu_state_t * cpup, word36 op1, word36 op2, word1 carryin, word18 flagsToSet, word18 * flags, bool * ovf); ovf 890 src/dps8/dps8_utils.h word36 Sub36b (cpu_state_t * cpup, word36 op1, word36 op2, word1 carryin, word18 flagsToSet, word18 * flags, bool * ovf); ovf 891 src/dps8/dps8_utils.h word18 Add18b (cpu_state_t * cpup, word18 op1, word18 op2, word1 carryin, word18 flagsToSet, word18 * flags, bool * ovf); ovf 892 src/dps8/dps8_utils.h word18 Sub18b (cpu_state_t * cpup, word18 op1, word18 op2, word1 carryin, word18 flagsToSet, word18 * flags, bool * ovf); ovf 893 src/dps8/dps8_utils.h word72 Add72b (cpu_state_t * cpup, word72 op1, word72 op2, word1 carryin, word18 flagsToSet, word18 * flags, bool * ovf); ovf 894 src/dps8/dps8_utils.h word72 Sub72b (cpu_state_t * cpup, word72 op1, word72 op2, word1 carryin, word18 flagsToSet, word18 * flags, bool * ovf); ovf 900 src/dps8/dps8_utils.h void currentTR (word27 * trunits, bool * ovf);