Section 4: Programming 274
 
 SWITCH TO W/PRGM PRESS fPRGM TO CLEAR MEMORY Page __1___ of __1___
KEY
ENTRY
CODE
SHOWN
COMMENTS
LBL 23  
A 11  
RCL 2 34 02 Dnpmt
RCL 3 34 03 Inflation factor
× 71  
STO 2 33 02 New dnpmt
RTN 24  
LBL 23  
B 12  
RCL 5 34 05 Savings
RCL 7 34 07 Interest factor
× 71  
RCL 6 34 06 Monthly savings
+ 61  
STO 5 33 05 New savings
RTN 24  
LBL 23  
C 13  
RCL 1 34 01 Reset savings and
STO 2 33 02 dnpmt to
RCL 4 34 04 Initial conditions
STO 5 33 05  
LBL 23  
0 00 Return point
B 12 Calculate savings
A 11 Calculate dnpmt
51 difference
R/S 84  
GTO 22  
0 00  
LBL 23  
D 14  
RCL 1 34 01  
STO 2 33 02 Reset savings and
RCL 4 34 04 dnpmt
STO 5 33 05  
0 00 Start month zero
STO 8 33 08  
LBL 23  
1 01 Return point
1 01  
STO 33 Add one to month
+ 61 counter
8 08  
B 12 Calculate savings
A 11 Calculate dnpmt
g x>y 35 24 If savings less than
GTO 22 dnpmt return to
1 01 LBL 1, otherwise
RCL 8 34 08 recall month
 
KEY
ENTRY
CODE
SHOWN
COMMENTS
RTN 24  
LBL 23  
E 15  
STO 8 33 08 Store desired month
RCL 1 34 01  
STO 2 33 02 Reset savings and
RCL 4 34 04 Monthly dnpmt
STO 5 33 05  
LBL 23 Return point
2 02  
B 12 Calculate savings
A 11 Calculate dnpmt
g 35 Repeat until
DSZ 83 Contents of register
GTO 22 8 is zero
2 02 then calculate
51 difference
RTN 24  
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
 
 
 
REGISTERS  
 
 R1 Initial
  dnpmt
   
 R2 Dnpmt
  any month
   
 R3 Inflation
  factor
   
 R4 Initial
  savings
   
 R5 Savings
  any
  month
 R6 Monthly
  addition
  to savings
 R7 Monthly
  interest
  factor
 R8 Month
  counter
   
 R9  
   
   
LABELS
 A  
 B  
 C  
 D  
 E  
 0 Used
 1 Used
 2 Used
 3  
 4  
 5  
 6  
 7  
 8  
 9  
   
FLAGS
 1  
   
 2  
   
   
   TO RECORD PROGRAM INSERT MAGNETIC CARD WITH SWITCH AT W/PRGM.