Identifying Instructions In Program Lines - HP 0012C-90001 User Manual

12c financial calculator
Table of Contents

Advertisement

Identifying Instructions in Program Lines

Identifying Instructions in Program Lines
Identifying Instructions in Program Lines
Identifying Instructions in Program Lines
Each key on the hp 12c keyboard — except for the digit keys 0 through 9 — is
identified by a two-digit "keycode" that corresponds to the key's position on the
keyboard. The first digit in the keycode is the number of the key row, counting
from row 1 at the top; the second digit is the number of the key in that row,
counting from 1 for the first key in the row through 9 for the ninth key in the row
and 0 for the tenth key in the row. The keycode for each digit key is simply the
digit on the key. Thus, when you keyed the instruction b into program memory,
the calculator displayed
This indicates that the key for the instruction in program line 04 is in the second
row on the keyboard and is the fifth key in that row: the b key. When you keyed
the instruction + into program memory, the calculator displayed
This indicates that the key for the instruction in program line 07 is in the fourth row
on the keyboard and is the tenth key in that row: the + key. When you keyed the
digit 5 into program memory, the keycode displayed was only the digit 5 5 5 5 .
Since keystroke sequences beginning with f, g, ?, :, and ( are stored
in only one program line, the display of that line would show the keycodes for all
the keys in the keystroke sequence.
Instruction
Instruction
Instruction
Instruction
?+1
g(00
Section 8: Programming Basics
Section 8:
Programming Basics
Section 8:
Section 8:
Programming Basics
Programming Basics
04–
25
07–
40
Keycode
Keycode
Keycode
Keycode
nn-
43 26
nn- 44 40
nn- 43,33 00
91
91
91
91
1

Advertisement

Table of Contents
loading

Table of Contents