Sharp PC-1403 Operation Manual page 38

Hide thumbs Also See for PC-1403:
Table of Contents

Advertisement

32
• If
a decimal
number having a
fractional
part is
converted
into a
hex number,
the fractional part
of the
decimal
number
is
truncated and only
its
integer part
is
converted
i
n to a hex
number.
Answer:
78.
HEXI
If
you attempt decimal-to-hex conversion on
a
negative decimal
number,
the computer
internally performs "two's compl
e ment"
calculation and
shows
the result in
16's
complement.
The
r±El
key may be used to reverse
the positive
or
negative
sign
of the numeric data now in
the
display. If
the
sign of a positive hex
number is reversed, the
complement
of the positive number will be
obtained in the
display.
Example:
Convert decimal number 123.4 into its hexadecimal equivalent.
Key
in:
I
sH1nl
~
123.4
~
Answer:
FFFFFFFFFE.
HEX!
Example:
Convert decimal number -2, into its hexadecimal
equi
v
alent.
Temporari
l
y
clear the
HEX
mode with
~
I
sH1FT
I
~
.
Key
in:
[TI
fill
~
To perform
a
new conversion,
temporarily
clear
the HEX
mode with
lsH1FTI
~.
1E.
HEX
Key
in:
30 ~
Answer:
To
clear
the
Hex
mode,
operate I
sH1FTI
~
.
You cannot clear it with
the
~
key.
1. Decimal to hex convers ion
Example:
Convert decimal
number
30 into its hexadecimal
equival
e
nt:
Hex numbers A through F
can be
entered by first
placing your
computer in
the Hex
mode
(with
~
key), then
pressi
n g the respective keys shown in
figure.
The symbol
HEX
indicates that the numeric
data shown in the display
is
a hex number,
and that you can perform
any basic
arithmetic
operations
on
hex numbers.
Using
as a Calculator

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents