Download  Print this page

Binary Arithmetic; Selecting The Wordsize - HP -28S Manual

Advanced scientific calculator.
Hide thumbs

Advertisement

13
Binary Arithmetic
This chapter describes how to perform arithmetic with binary inte-
gers. Each binary integer contains from 1 to 64 bits and represents an
unsigned binary number. For ease in entering binary numbers and
reading the results, you can choose decimal, hexadecimal, octal or bi-
nary base. However, this choice doesn't affect the internal
representation of binary integers, and commands act on binary inte-
gers bit-by-bit.
All commands in the BINARY menu are described briefly in appendix
0, "Menu Map." For complete descriptions, refer to "BINARY" in the
Reference Manual.
Selecting the Wordsize
The current wordsize affects the length of binary integers returned by
commands and the display of binary integers on the stack. The
wordsize can range from 1 through 64 bits, with a default wordsize of
64 bits. Suppose you want a wordsize of 16.
Before you start the example, clear the stack and display the BINARY
menu .
1
CLEAR
1.1
BINARY
I
138
13: Binary Arithmetic

Advertisement

Table of Contents

   Also See for HP HP-28S

   Related Manuals for HP HP-28S

Comments to this Manuals

Symbols: 0
Latest comments: