EasyManuals Logo
Home>HP>Calculator>15c Collector's Edition

HP 15c Collector's Edition User Manual

HP 15c Collector's Edition
308 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #102 background imageLoading...
Page #102 background image
90
Section 8
Program Branching
and Controls
Although the instructions in a program are normally executed
sequentially, it is often desirable to transfer execution to a part of the
program other than the next line. Branching in the HP 15c may be simple,
or it may depend on a certain condition. By branching to a previous line, it
is possible to execute part of a program more than once—a process called
looping.
The Mechanics
Branching
The Go To (t)
Instruction. Simple branching—that is, unconditional
branching—is carried out with the instruction t label. In a running
program, t will transfer execution to the next appropriately labeled
program or routine (not to a line number).
015-t 7
016-
017-
018-
019-´ b 7
020-
The calculator searches forward in memory, wrapping around through
line 000 if necessary, and resumes execution at the first line containing
the proper label.
Looping. If a t instruction specifies a label at a lower-numbered line

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP 15c Collector's Edition and is the answer not in the manual?

HP 15c Collector's Edition Specifications

General IconGeneral
BrandHP
Model15c Collector's Edition
CategoryCalculator
LanguageEnglish

Related product manuals