Lines Matching full:carry

38 * Carry Chain Calculation
43 * flag is the XOR of the top two bits of the carry chain for an
46 * carry chain given the two operands and the result.
49 * bits, we can derive a formula for the carry chain.
246 /* calculate the carry chain SEE NOTE AT TOP. */ in adc_byte()
273 /* calculate the carry chain SEE NOTE AT TOP. */ in adc_word()
307 /* calculate the carry chain SEE NOTE AT TOP. */ in adc_long()
330 /* calculate the carry chain SEE NOTE AT TOP. */ in add_byte()
353 /* calculate the carry chain SEE NOTE AT TOP. */ in add_word()
381 /* calculate the carry chain SEE NOTE AT TOP. */ in add_long()
584 /* carry flag unchanged */ in dec_byte()
608 /* carry flag unchanged */ in dec_word()
632 /* carry flag unchanged */ in dec_long()
653 /* calculate the carry chain SEE NOTE AT TOP. */ in inc_byte()
675 /* calculate the carry chain SEE NOTE AT TOP. */ in inc_word()
697 /* calculate the carry chain SEE NOTE AT TOP. */ in inc_long()
733 /* set the carry flag to be bit 8 */ in or_word()
754 /* set the carry flag to be bit 8 */ in or_long()
888 want to rotate through the carry by "s" bits. We could in rcl_byte()
892 The new carry flag (was B_n) in rcl_byte()
897 for a rotation of n bits (mod 9) the new carry flag is in rcl_byte()
911 /* extract the new CARRY FLAG. */ in rcl_byte()
930 /* if the carry flag was set, or it in. */ in rcl_byte()
931 if (ACCESS_FLAG(F_CF)) { /* carry flag is set */ in rcl_byte()
935 /* set the new carry flag, based on the variable "cf" */ in rcl_byte()
986 if (ACCESS_FLAG(F_CF)) { /* carry flag is set */ in rcl_long()
1005 /* rotate right through carry */ in rcr_byte()
1015 for a rotation of n bits (mod 9) the new carry flag is in rcr_byte()
1029 /* extract the new CARRY FLAG. */ in rcr_byte()
1063 /* if the carry flag was set, or it in. */ in rcr_byte()
1064 if (ACCESS_FLAG(F_CF)) { /* carry flag is set */ in rcr_byte()
1068 /* set the new carry flag, based on the variable "cf" */ in rcr_byte()
1090 /* rotate right through carry */ in rcr_word()
1123 /* rotate right through carry */ in rcr_long()
1136 if (ACCESS_FLAG(F_CF)) { /* carry flag is set */ in rcr_long()
1181 /* set the new carry flag, Note that it is the low order in rol_byte()
1190 /* set the new carry flag, Note that it is the low order in rol_byte()
1216 /* set the new carry flag, Note that it is the low order in rol_word()
1242 /* set the new carry flag, Note that it is the low order in rol_long()
1282 /* set the new carry flag, Note that it is the low order in ror_byte()
1290 /* set the new carry flag, Note that it is the low order in ror_byte()
1315 /* set the new carry flag, Note that it is the low order in ror_word()
1340 /* set the new carry flag, Note that it is the low order in ror_long()
1359 /* last bit shifted out goes into carry flag */ in shl_byte()
2416 int carry; in idiv_long()
2424 carry = (l_dvd >= l_s) ? 0 : 1; in idiv_long()
2426 if (abs_h_dvd < (h_s + carry)) { in idiv_long()
2432 abs_h_dvd -= (h_s + carry); in idiv_long()
2433 l_dvd = carry ? ((0xFFFFFFFF - l_s) + l_dvd + 1) in idiv_long()
2544 int carry; in div_long()
2552 carry = (l_dvd >= l_s) ? 0 : 1; in div_long()
2554 if (h_dvd < (h_s + carry)) { in div_long()
2560 h_dvd -= (h_s + carry); in div_long()
2561 l_dvd = carry ? ((0xFFFFFFFF - l_s) + l_dvd + 1) in div_long()