HP -16C Owner's Handbook Manual page 118

Table of Contents

Advertisement

116
Appendix D: Programs for Format Conversion
IEEE Number
X-Register
(fl:;"'") 0"?;':;";)"98
0
0
0
0
-0
0
1
0
too
+9.999999999 X 10%°
1
1
Other Numbers
As defined above under
0
0
(c) and (d)
Not a Number
(-1)°(0.f) 223
1
0
Program: Conversion from IEEE Format to HP-16C Format
The following program converts a number from IEEE single-
precision, floating-point binary format to floating-point decimal
format.
KEYSTROKES
DISPLAY
KEYSTROKES
DISPLAY
(9)(LBL)B
001-43,22, b
|[xx
018-
34
HEX
002-
23 |8
019-
8
(fJSETCOMPL[2's]
003-
42 2
020-
42 7
2
004-
2 |[(9])(x=
021-
4349
0
005-
0 |[GTO]4
022-
22 4
006-
42 44
023-
33
007-
42 A |[g](x=0]
024-
4340
008-
36 |(GT0]3
025-
22 3
009-
36
|[xx
026-
34
(g](x=0]
010-
4340
|1
027-
1
(GT0]2
011-
22 2|8
028-
8
1
012-
1
029-
42 4
8
013-
8 [[g])(LBL]1
030-43,22, 1
014-
42 8 |[9][F?]4
031-43, 6, 4
015-
42 20
|[cHS
032-
49
016-
4210
|[xx
033-
34
(9](LSTx]
017-
4336
|8
034-
8

Advertisement

Table of Contents
loading

Table of Contents