Appendix B: Combined Arithmetic Processes

Serial Calculation

Any time a new number is entered after any calculation, the HP-80 performs an automatic SAVE  on the result of the calculation. This feature permits a serial calculation that has intermediate results to which a series of new values can be applied without your having to write down or store any of the intermediate results. For example: to find the sum of 4, 6, 8 and 10,
 Enter:  See Displayed:  
 
4 SAVE  6 +   
  10.00
   
 
8 +   
  18.00
   
 
10 +   
  28.00
   
The same principle applies to serial multiplication, division and subtraction, too. And in the stack,
 
PressSeeRemarks
 4   4.  4 is keyed into X.
 SAVE    4.00  4 is loaded into X and Y.
 6   6.  6 is keyed and loaded into X; current contents (4) are destroyed.
 +   10.00  Contents of X (6) and Y (4) are added then contents are destroyed; result (10) is loaded into X.
 8   8.  8 is keyed and loaded into X, 10 is loaded into Y.
 +   18.00  Contents of X (8) and Y (10) are added then contents are destroyed; result (18) is loaded into X.
 10   10.  10 is keyed and loaded into X, 18 is loaded into Y.
 +   28.00  Contents of X (10) and Y (18) are added then contents are destroyed; result (28) is loaded into X.
 

Chained Calculation

Chained calculations can be used to find the sums of products (adding the results of two or more multiplication operations) or the product of sums (multiplying the results of two or more addition operations). For example, if you sold 12 items at $1.58 each, 8 items at $2.67 each and 16 items at $0.54 each, the total sale price is:
(12 × 1.58) + (8 × 2.67) + (16 × 0.54)
With ordinary calculators you have to make two passes for this type of problem by first calculating the items in parentheses and then adding
56