op1 7474 src/dps8/dps8_eis.c decNumber *op1 = decBCD9ToNumber(e->inBuffer, n1, sc1, &_1); op1 7476 src/dps8/dps8_eis.c op1->bits |= DECNEG; op1 7478 src/dps8/dps8_eis.c op1->exponent = e->exponent; op1 7489 src/dps8/dps8_eis.c decNumber *cmp = decNumberCompare(&_3, op1, op2, &set); // compare signed op1 :: op2 op1 7493 src/dps8/dps8_eis.c op1 = decNumberAbs(op1, op1, &set); op1 7497 src/dps8/dps8_eis.c decNumber *mcmp = decNumberCompare(&_3, op1, op2, &set); // compare signed op1 :: op2 op1 7801 src/dps8/dps8_eis.c decNumber *op1 = decBCD9ToNumber (e->inBuffer, n1, sc1, &_1); op1 7804 src/dps8/dps8_eis.c op1->bits |= DECNEG; op1 7806 src/dps8/dps8_eis.c op1->exponent = e->exponent; op1 7807 src/dps8/dps8_eis.c if (decNumberIsZero (op1)) op1 7808 src/dps8/dps8_eis.c op1->exponent = 127; op1 7812 src/dps8/dps8_eis.c PRINTDEC ("mvn input (op1)", op1); op1 7818 src/dps8/dps8_eis.c char * res = formatDecimal (out, & set, op1, n2, (int) e->S2, e->SF2, R, op1 7842 src/dps8/dps8_eis.c (decNumberIsNegative (op1) && op1 7843 src/dps8/dps8_eis.c ! decNumberIsZero(op1)) ? 015 : 013); op1 7847 src/dps8/dps8_eis.c (decNumberIsNegative (op1) && op1 7848 src/dps8/dps8_eis.c ! decNumberIsZero (op1)) ? 015 : 014); op1 7852 src/dps8/dps8_eis.c (decNumberIsNegative (op1) && op1 7853 src/dps8/dps8_eis.c ! decNumberIsZero (op1)) ? '-' : '+'); op1 7889 src/dps8/dps8_eis.c (decNumberIsNegative (op1) && op1 7890 src/dps8/dps8_eis.c ! decNumberIsZero(op1)) ? 015 : 013); op1 7894 src/dps8/dps8_eis.c (decNumberIsNegative (op1) && op1 7895 src/dps8/dps8_eis.c ! decNumberIsZero (op1)) ? 015 : 014); op1 7900 src/dps8/dps8_eis.c (decNumberIsNegative (op1) && op1 7901 src/dps8/dps8_eis.c ! decNumberIsZero(op1)) ? '-' : '+'); op1 7912 src/dps8/dps8_eis.c (op1->exponent >> 4) & 0xf); // upper 4-bits op1 7914 src/dps8/dps8_eis.c op1->exponent & 0xf); // lower 4-bits op1 7918 src/dps8/dps8_eis.c op1->exponent & 0xff); // write 8-bit exponent op1 7931 src/dps8/dps8_eis.c if (op1->exponent > 127) op1 7936 src/dps8/dps8_eis.c if (op1->exponent < -128) op1 7943 src/dps8/dps8_eis.c sim_debug (DBG_CAC, & cpu_dev, "is neg %o\n", decNumberIsNegative(op1)); op1 7944 src/dps8/dps8_eis.c sim_debug (DBG_CAC, & cpu_dev, "is zero %o\n", decNumberIsZero(op1)); op1 7954 src/dps8/dps8_eis.c SC_I_NEG (decNumberIsNegative(op1) && !decNumberIsZero(op1)); op1 7957 src/dps8/dps8_eis.c SC_I_ZERO (decNumberIsZero(op1)); op1 9665 src/dps8/dps8_eis.c decNumber *op1 = decNumberFromString(&_1, tmp+i, &set); op1 9667 src/dps8/dps8_eis.c op1->bits |= DECNEG; op1 9672 src/dps8/dps8_eis.c char * res = formatDecimal (out, &set, op1, n2, (int) e->S2, e->SF2, 0, &Ovr, &Trunc); op1 9690 src/dps8/dps8_eis.c (decNumberIsNegative(op1) && !decNumberIsZero(op1)) ? 015 : 013); // special + op1 9693 src/dps8/dps8_eis.c (decNumberIsNegative(op1) && !decNumberIsZero(op1)) ? 015 : 014); // default + op1 9697 src/dps8/dps8_eis.c (decNumberIsNegative(op1) && !decNumberIsZero(op1)) ? '-' : '+'); op1 9730 src/dps8/dps8_eis.c (decNumberIsNegative(op1) && !decNumberIsZero(op1)) ? 015 : 013); // special + op1 9733 src/dps8/dps8_eis.c (decNumberIsNegative(op1) && !decNumberIsZero(op1)) ? 015 : 014); // default + op1 9738 src/dps8/dps8_eis.c (decNumberIsNegative(op1) && !decNumberIsZero(op1)) ? '-' : '+'); op1 9748 src/dps8/dps8_eis.c SC_I_NEG (decNumberIsNegative(op1) && !decNumberIsZero(op1)); // set negative indicator if op3 < 0 op1 9749 src/dps8/dps8_eis.c SC_I_ZERO (decNumberIsZero(op1)); // set zero indicator if op3 == 0 op1 10077 src/dps8/dps8_eis.c op1 10079 src/dps8/dps8_eis.c op1 10080 src/dps8/dps8_eis.c op1 10081 src/dps8/dps8_eis.c op1 10085 src/dps8/dps8_eis.c op1 10291 src/dps8/dps8_eis.c decNumber *op1 = decBCD9ToNumber(e->inBuffer, n1, sc1, &_1); op1 10293 src/dps8/dps8_eis.c op1->bits |= DECNEG; op1 10295 src/dps8/dps8_eis.c op1->exponent = e->exponent; op1 10305 src/dps8/dps8_eis.c decNumber *op3 = decNumberAdd(&_3, op1, op2, &set); op1 10672 src/dps8/dps8_eis.c decNumber *op1 = decBCD9ToNumber(e->inBuffer, n1, sc1, &_1); op1 10674 src/dps8/dps8_eis.c op1->bits |= DECNEG; op1 10676 src/dps8/dps8_eis.c op1->exponent = e->exponent; op1 10686 src/dps8/dps8_eis.c decNumber *op3 = decNumberAdd(&_3, op1, op2, &set); op1 11003 src/dps8/dps8_eis.c decNumber *op1 = decBCD9ToNumber(e->inBuffer, n1, sc1, &_1); op1 11005 src/dps8/dps8_eis.c op1->bits |= DECNEG; op1 11007 src/dps8/dps8_eis.c op1->exponent = e->exponent; op1 11017 src/dps8/dps8_eis.c decNumber *op3 = decNumberSubtract(&_3, op2, op1, &set); op1 11344 src/dps8/dps8_eis.c decNumber *op1 = decBCD9ToNumber(e->inBuffer, n1, sc1, &_1); op1 11346 src/dps8/dps8_eis.c op1->bits |= DECNEG; op1 11348 src/dps8/dps8_eis.c op1->exponent = e->exponent; op1 11358 src/dps8/dps8_eis.c decNumber *op3 = decNumberSubtract(&_3, op2, op1, &set); op1 11660 src/dps8/dps8_eis.c decNumber *op1 = decBCD9ToNumber(e->inBuffer, n1, sc1, &_1); op1 11662 src/dps8/dps8_eis.c op1->bits |= DECNEG; op1 11664 src/dps8/dps8_eis.c op1->exponent = e->exponent; op1 11674 src/dps8/dps8_eis.c decNumber *op3 = decNumberMultiply(&_3, op1, op2, &set); op1 11962 src/dps8/dps8_eis.c decNumber *op1 = decBCD9ToNumber(e->inBuffer, n1, sc1, &_1); op1 11964 src/dps8/dps8_eis.c op1->bits |= DECNEG; op1 11966 src/dps8/dps8_eis.c op1->exponent = e->exponent; op1 11976 src/dps8/dps8_eis.c decNumber *op3 = decNumberMultiply(&_3, op1, op2, &set); op1 13002 src/dps8/dps8_eis.c decNumber *op1 = decBCD9ToNumber(e->inBuffer, n1, sc1, &_1); // divisor op1 13004 src/dps8/dps8_eis.c op1->bits |= DECNEG; op1 13006 src/dps8/dps8_eis.c op1->exponent = e->exponent; op1 13009 src/dps8/dps8_eis.c if (decNumberIsZero(op1)) op1 13035 src/dps8/dps8_eis.c for (i=0; i < op1->digits; i++) op1 13047 src/dps8/dps8_eis.c NQ = (n2-clz2+1) - (n1-clz1) + (-(e->S1==CSFL?op1->exponent:(int)e->SF1)); op1 13050 src/dps8/dps8_eis.c e->S1,e->S2,e->N1,e->N2,clz1,clz2,op1->exponent,op2->exponent,e->SF2,NQ); op1 13058 src/dps8/dps8_eis.c decNumber *op3 = decNumberDivide(&_3, op2, op1, &set); op1 13064 src/dps8/dps8_eis.c PRINTDEC("op1", op1); op1 13110 src/dps8/dps8_eis.c if (op1->digits >= op2->digits) { op1 13112 src/dps8/dps8_eis.c decNumberCopy(&_1a, op1); op1 13113 src/dps8/dps8_eis.c decNumberFromInt32(&_sf, op1->digits - op2->digits); op1 13115 src/dps8/dps8_eis.c } else if (op1->digits < op2->digits) { op1 13117 src/dps8/dps8_eis.c decNumberFromInt32(&_sf, op2->digits - op1->digits); op1 13118 src/dps8/dps8_eis.c decNumberShift(&_1a, op1, &_sf, &set); op1 13127 src/dps8/dps8_eis.c op1->exponent,op2->exponent,op1->digits,op2->digits,_1a.digits,_2a.digits); op1 13427 src/dps8/dps8_eis.c decNumber *op1 = decBCD9ToNumber(e->inBuffer, n1, sc1, &_1); op1 13430 src/dps8/dps8_eis.c op1->bits |= DECNEG; op1 13432 src/dps8/dps8_eis.c op1->exponent = e->exponent; op1 13435 src/dps8/dps8_eis.c if (decNumberIsZero(op1)) op1 13477 src/dps8/dps8_eis.c for (i=0; i < op1->digits; i++) op1 13490 src/dps8/dps8_eis.c ((e->S2==CSFL?op2->exponent:(int)e->SF2)-(e->S1==CSFL?op1->exponent:(int)e->SF1)-(int)e->SF3); op1 13493 src/dps8/dps8_eis.c e->S1,e->S2,e->N1,e->N2,clz1,clz2,op1->exponent,op2->exponent,e->SF3,NQ); op1 13501 src/dps8/dps8_eis.c decNumber *op3 = decNumberDivide(&_3, op2, op1, &set); op1 13507 src/dps8/dps8_eis.c PRINTDEC("op1", op1); op1 13553 src/dps8/dps8_eis.c if (op1->digits >= op2->digits) { op1 13555 src/dps8/dps8_eis.c decNumberCopy(&_1a, op1); op1 13556 src/dps8/dps8_eis.c decNumberFromInt32(&_sf, op1->digits - op2->digits); op1 13558 src/dps8/dps8_eis.c } else if (op1->digits < op2->digits) { op1 13560 src/dps8/dps8_eis.c decNumberFromInt32(&_sf, op2->digits - op1->digits); op1 13561 src/dps8/dps8_eis.c decNumberShift(&_1a, op1, &_sf, &set); op1 13571 src/dps8/dps8_eis.c op1->exponent ,op2->exponent, op1->digits, op1 172 src/dps8/dps8_utils.c word36 Add36b (cpu_state_t * cpup, word36 op1, word36 op2, word1 carryin, word18 flagsToSet, word18 * flags, bool * ovf) op1 177 src/dps8/dps8_utils.c op1, op2, carryin, flagsToSet, * flags); op1 182 src/dps8/dps8_utils.c word38 op1e = op1 & MASK36; op1 252 src/dps8/dps8_utils.c word36 Sub36b (cpu_state_t * cpup, word36 op1, word36 op2, word1 carryin, word18 flagsToSet, word18 * flags, bool * ovf) op1 264 src/dps8/dps8_utils.c word38 op1e = op1 & MASK36; op1 336 src/dps8/dps8_utils.c word18 Add18b (cpu_state_t * cpup, word18 op1, word18 op2, word1 carryin, word18 flagsToSet, word18 * flags, bool * ovf) op1 343 src/dps8/dps8_utils.c word20 op1e = op1 & MASK18; op1 412 src/dps8/dps8_utils.c word18 Sub18b (cpu_state_t * cpup, word18 op1, word18 op2, word1 carryin, word18 flagsToSet, word18 * flags, bool * ovf) op1 424 src/dps8/dps8_utils.c word20 op1e = op1 & MASK18; op1 496 src/dps8/dps8_utils.c word72 Add72b (cpu_state_t * cpup, word72 op1, word72 op2, word1 carryin, word18 flagsToSet, word18 * flags, bool * ovf) op1 504 src/dps8/dps8_utils.c word74 op1e = and_128 (op1, MASK72); op1 508 src/dps8/dps8_utils.c word74 op1e = op1 & MASK72; op1 610 src/dps8/dps8_utils.c word72 Sub72b (cpu_state_t * cpup, word72 op1, word72 op2, word1 carryin, word18 flagsToSet, word18 * flags, bool * ovf) op1 616 src/dps8/dps8_utils.c (word36) ((rshift_128 (op1, 36).l) & MASK36), op1 617 src/dps8/dps8_utils.c (word36) (op1.l & MASK36), op1 624 src/dps8/dps8_utils.c (word36) ((op1 >> 36) & MASK36), op1 625 src/dps8/dps8_utils.c (word36) (op1 & MASK36), op1 640 src/dps8/dps8_utils.c word74 op1e = and_128 (op1, MASK72); op1 643 src/dps8/dps8_utils.c word74 op1e = op1 & MASK72; op1 784 src/dps8/dps8_utils.c word36 compl36(cpu_state_t * cpup, word36 op1, word18 *flags, bool * ovf) op1 789 src/dps8/dps8_utils.c op1 &= DMASK; op1 793 src/dps8/dps8_utils.c word36 res = ((word36) (- ((word36s) op1))) & DMASK; op1 795 src/dps8/dps8_utils.c * ovf = op1 == MAXNEG; op1 820 src/dps8/dps8_utils.c word18 compl18(cpu_state_t * cpup, word18 op1, word18 *flags, bool * ovf) op1 825 src/dps8/dps8_utils.c op1 &= MASK18; op1 829 src/dps8/dps8_utils.c word18 res = ((word18) (- (word18s) op1)) & MASK18; op1 831 src/dps8/dps8_utils.c * ovf = op1 == MAX18NEG; op1 988 src/dps8/dps8_utils.c t_int64 op1 = SIGNEXT36_64(oP1 & DMASK); op1 991 src/dps8/dps8_utils.c word36 sign1 = (word36) op1 & SIGN36; op1 999 src/dps8/dps8_utils.c if (op1 > op2) op1 1005 src/dps8/dps8_utils.c else if (op1 == op2) op1 1032 src/dps8/dps8_utils.c int32 op1 = SIGNEXT18_32 (oP1 & MASK18); op1 1035 src/dps8/dps8_utils.c word18 sign1 = (word18) op1 & SIGN18; op1 1043 src/dps8/dps8_utils.c if (op1 > op2) op1 1049 src/dps8/dps8_utils.c else if (op1 == op2) op1 1107 src/dps8/dps8_utils.c void cmp72(cpu_state_t * cpup, word72 op1, word72 op2, word18 *flags) op1 1114 src/dps8/dps8_utils.c sim_debug (DBG_TRACEEXT, & cpu_dev, "op1 %016"PRIx64"%016"PRIx64"\n", op1.h, op1.l); op1 1116 src/dps8/dps8_utils.c int128 op1s = SIGNEXT72_128 (and_128 (op1, MASK72)); op1 1121 src/dps8/dps8_utils.c sim_debug (DBG_TRACEEXT, & cpu_dev, "op1 %016"PRIx64"%016"PRIx64"\n", (uint64_t) (op1>>64), (uint64_t) op1); op1 1123 src/dps8/dps8_utils.c int128 op1s = SIGNEXT72_128 (op1 & MASK72); op1 1162 src/dps8/dps8_utils.c if (isnonzero_128 (and_128 (op1, SIGN72))) op1 1164 src/dps8/dps8_utils.c if (op1 & SIGN72) op1 50 src/dps8/dps8_utils.h word36 compl36(cpu_state_t * cpup, word36 op1, word18 *flags, bool * ovf); op1 51 src/dps8/dps8_utils.h word18 compl18(cpu_state_t * cpup, word18 op1, word18 *flags, bool * ovf); op1 59 src/dps8/dps8_utils.h void cmp36(cpu_state_t * cpup, word36 op1, word36 op2, word18 *flags); op1 61 src/dps8/dps8_utils.h void cmp18(cpu_state_t * cpup, word18 op1, word18 op2, word18 *flags); op1 62 src/dps8/dps8_utils.h void cmp72(cpu_state_t * cpup, word72 op1, word72 op2, word18 *flags); op1 889 src/dps8/dps8_utils.h word36 Add36b (cpu_state_t * cpup, word36 op1, word36 op2, word1 carryin, word18 flagsToSet, word18 * flags, bool * ovf); op1 890 src/dps8/dps8_utils.h word36 Sub36b (cpu_state_t * cpup, word36 op1, word36 op2, word1 carryin, word18 flagsToSet, word18 * flags, bool * ovf); op1 891 src/dps8/dps8_utils.h word18 Add18b (cpu_state_t * cpup, word18 op1, word18 op2, word1 carryin, word18 flagsToSet, word18 * flags, bool * ovf); op1 892 src/dps8/dps8_utils.h word18 Sub18b (cpu_state_t * cpup, word18 op1, word18 op2, word1 carryin, word18 flagsToSet, word18 * flags, bool * ovf); op1 893 src/dps8/dps8_utils.h word72 Add72b (cpu_state_t * cpup, word72 op1, word72 op2, word1 carryin, word18 flagsToSet, word18 * flags, bool * ovf); op1 894 src/dps8/dps8_utils.h word72 Sub72b (cpu_state_t * cpup, word72 op1, word72 op2, word1 carryin, word18 flagsToSet, word18 * flags, bool * ovf);