HP 9100B Operating & Programming Manual page 78

Hide thumbs Also See for 9100B:
Table of Contents

Advertisement

A
PROG A
MIN
THE 91008
UN
PROGRAM KEYS
Selects the mode of operation.
PROGRAM MODE: used when entering a program from the key-
board and when editing a program.
RUN MODE: used when performing calculations manually, re-
cording a program on a magnetic card, entering a program
from a magnetic card, running a program and addressing
the program counter.
Used to address the program counter and as an uncon-
ditional branch to the address designated by the steps
, jmmediately following the GO TO instruction.
GO TO, followed by the
SUB/
RETURN instruction, followed by
an address, causes an unconditional branch to the subroutine
starting at the address designated (see Page
94 ).
When GO TO is used either from the keyboard or as a program
operation use of the page sign (
+
or -) is page dependent; the
sign of the page is required only if the branch is to be between
pages:
from
to
Required
Number of
( ) page
( ) page
lnstructions
steps
(+)
(+)
GO TO, 4, 3
3
( )
(-
)
GO TO, 4, 3
3
(+)
(-
)
GO TO,
-
, 4
,
3
4
(-
)
(+)
GO TO,
+
,
4, 3
4
NOTE
Remember that, whereas branching is page depend-
ent, addressing a register, for data storage or recall,
is not page dependent. ln thts case, regardless of
whether the addressing instructtons are on the ( +)
page or the ( ) page, a plus ( +) register ts
~uto­
maticatly assumed unless the
(-
) ts used to tndtcate
that the required regtster ts on the
(-
) page.

Advertisement

Table of Contents
loading

Table of Contents