Further Information; Program Instructions; Instruction Coding - HP -15C Owner's Handbook Manual

Hide thumbs Also See for HP-15C:
Table of Contents

Advertisement

74
Section 6: Programming Basics
Keystrokes
4
¦
l 1
l 2
l 3
The preceding program illustrates the basic techniques of programming. It
also shows how data can be manipulated in Program and Run modes by
entering, storing, and recalling data (input and output) using v,
O, l, storage register arithmetic, and programmed stops.

Further Information

Program Instructions

Each digit, decimal point, and function key is considered an instruction
and is stored in one line of program memory. An instruction may include
prefixes (such as ´, O, t and b) and still occupy only one
line. Most instructions require one byte of program memory; however, some
require two. For a complete list of two-byte instructions, refer to
Appendix C.

Instruction Coding

Each key on the HP-15C keyboard – except for the digit keys 0 through
9 – is identified in Program mode by a two-digit ―keycode‖ that
corresponds to the key's position on the keyboard.
Instruction
O + 1
´ e V
The first digit of a keycode refers to the row (1 to 4 from top to bottom),
and the second digit refers to the column (1, 2, 9, 0 from left to right).
Exception: the keycode for a digit key is simply that digit.
Display
4
254.4690
240.3318
133.5177
939.3362
769.6902
Code
006-44,40, 1
XXX-42, 5,25
Enter h of third can.
VOLUME of third can.
SURFACE AREA of third can.
Sum of BASE AREAS.
Sum of VOLUMES.
Sum of SURFACE AREAS.
Sixth program line.
e is just ―5‖.

Advertisement

Table of Contents
loading

Table of Contents