Section 14: Flags221
Keystrokes Display      
g X=Y? 
  27 X = Y ?    
    Is input same as stored letter?...
g GTO 03 
  28 GTO 03    
    ...yes, goes to LBL 03.
g ISG 02 
  29 ISG 02    
    Increments R02...
g GTO 02 
  30 GTO 02    
    ...goes to LBL 04 if number is less than or equal to 15, and...
 
       
   
g RTN 
  31 RTN    
    ...stops if it is greater than 15.
g LBL 03 
  32 LBL 03    
       Displays the integer portion of the loop control number. It is the same as the decimal value of the letter stored in that indirect address.
RCL 02 
  33 RCL 02    
 
XEQ 
       
 
ALPHA INT ALPHA 
  34 INT    
 
g GTO · · 
  00 REG 35    
   
Now assign the program to the Σ+ key for execution in USER mode.
Keystrokes Display      
PRGM 
  0.0000    
     
g ASN 
  ASN _    
     
ALPHA HEX ALPHA 
  ASN HEX _    
     
Σ+ 
  ASN HEX 11    
     
 
  0.0000    
     
Run HEX in USER mode to convert the following single-digit hexadecimal integers to their decimal equivalents: 1, B, 9, F.
Keystrokes Display      
USER 
  0.0000    
     
HEX ( Σ+
  INPUT?    
     
1 R/S 
  1.0000    
    The decimal equivalent of hexadecimal 1.
 
       
   
HEX 
  INPUT?    
     
ALPHA B ALPHA 
       
     
R/S 
  11.0000    
    Hexadecimal B equals decimal 11.
 
       
   
HEX 
  INPUT?    
     
9 R/S 
  9.0000    
     
HEX 
  INPUT?    
     
ALPHA F ALPHA 
       
     
R/S 
  15.0000