To enter a binary integer, Binary integer – HP 48g Graphing Calculator User Manual

Page 188

Attention! The text in this document has been recognized automatically. To view the original document, you can use the "Original mode".

Advertising
background image

HEX, DEC, OCT, and BIN are programmable. The settings for flags

--11 and —12 correspond to the current base. (For more information

on flags -11 and —12, see appendix D, “System Flags.”)

The choice of current base has no effect on the internal representation
of binary integers.

To ¥lew the current base:

1. Press fMTH 1 BFiSE .

2. View the menu labels. The

the current base.

in one of the menu labels identifies

15

The choice of current base has no effect on the internal representation

of binary integers.

To set the wordsize:

1. Key in a number from 1 to 64.

2. Press

( M T H )

EiHSE

f N X T )

ST US (the STWS command). (A

fractional number is rounded to the nearest integer.)

To recall the current wordsize:

B Press

( M T H )

BFlSE

f N X T )

RC

To enter

a

binary integer:

(the RCWS command).

1. Press

2. Enter the value of the binary integer—valid characters depend on

the base you’re using.

3. Optional; To specify the base, type a base marker: d, h, o, or b.

(Otherwise, the current base is used.)

4. Press

( E N T E R

1.

NOt

0

If a binary integer argument exceeds the current

wordsize, the excess most significant (leading) bits

are dropped before the command is executed. If

_

necessary, results are also truncated. If a calculation

produces a remainder, only the integer portion of the
result is retained.

15-2 Binary Arithmetic and Number Bases

Advertising
This manual is related to the following products: