HP 35s Scientific Calculator Manuel d'utilisateur Page 214

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 382
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 213
14-4 Programming Techniques
In RPN mode,
Branching (GTO)
As we have seen with subroutines, it is often desirable to transfer execution to a part
of the program other than the next line. This is called branching.
Unconditional branching uses the GTO (go to) instruction to branch to a specific
program line (label and line number).
  Starts subroutine here.
  Enters A.
  Enters B.
  Enters C.
  Enters D.
  Recalls the data.
 
 
 

A
2
.
  
1
A
2
+ B
2
.
2
  
3
A
2
+ B
2
+ C
2
4
  
5
A
2
+ B
2
+ C
2
+ D
2
6

  Returns to main routine.
 
135
Nested subroutine
 


Adds x
2
.
246
  Returns to subroutine S.
2222
DCBA +++
Vue de la page 213
1 2 ... 209 210 211 212 213 214 215 216 217 218 219 ... 381 382

Commentaires sur ces manuels

Pas de commentaire