When writing programs that use numbers in a base other than 10, set the base
mode both as the current setting for the calculator and in the program (as an
instruction).
Selecting a Base Mode in a Program
Insert a BIN, OCT, or HEX instruction into the beginning of the program. You
should usually include a DEC instruction at the end of the program so that the
calculator's setting will revert to Decimal mode when the program is done.
An instruction in a program to change the base mode will determine how input is
interpreted and how output looks during and after program execution, but it does
not affect the program lines as you enter them.
Equation evaluation, SOLVE, and
Numbers Entered in Program Lines
Before starting program entry, set the base mode. The current setting for the base
mode determines the base of the numbers that are entered into program lines. The
display of these numbers changes when you change the base mode.
Program line numbers always appear in base 10.
An annunciator tells you which base is the current setting. Compare the program
lines below in the left and right columns. All non–decimal numbers are
right–justified in the calculator's display. Notice how the number 13 appears as
"D" in Hexadecimal mode.
Decimal mode set:
PRGM
PRGM
File name 33s-E-Manual-1008-Publication(1st).doc
Printed Date : 2003/10/8
∫
Hexadecimal mode set:
:
:
PRGM
PRGM
:
:
Size : 13.7 x 21.2 cm
FN automatically set Decimal mode.
:
:
HEX
HEX
:
:
Simple Programming
Page : 386
12–23