EasyManuals Logo
Home>HP>Calculator>35s

HP 35s User Manual

HP 35s
382 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 #207 background imageLoading...
Page #207 background image
Simple Programming 13-25
This allows you to write programs that accept numbers in any of the four bases, do
arithmetic in any base, and display results in any base.
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.
Numbers Entered in Program Lines
Before starting program entry, set the base mode. The current setting for the base
mode determines the result of program.
An annunciator tells you which base is the current setting. Compare the program
lines below in the decimal and non-decimal mode. All decimal and non-decimal
numbers are left–justified in the calculator's display.
Decimal mode set: Binary mode set:
:
:
:
:
PRGM PRGM BIN
 
 
 
Decimal number
can omit the sign
“d
 
Binary number
should add the
base sign ”b”
:
:
:
:

Table of Contents

Other manuals for HP 35s

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP 35s and is the answer not in the manual?

HP 35s Specifications

General IconGeneral
TypeScientific
Form factorPocket
Product colorBlack
Digits14 digits
Display number of lines2 lines
Keyboard typeAlphanumeric
Menus and promptsYes
Weight and Dimensions IconWeight and Dimensions
Dimensions (WxDxH)157.9 x 18 x 82 mm

Related product manuals