Binary, octal and hexadecimal values, Binary/octal/decimal/hexadecimal conversions, Binary/octal/decimal/hexadecimal calculations – HP 6S User Manual
Page 16: 16 binary/octal/decimal/hexadecimal conversions
16
Binary/octal/decimal/hexadecimal conversions
Conversion of 22
10
to binary.
22M¥
BIN
10110.
Conversion of 22
10
to octal.
M§
OCT
26.
Conversion of 513
10
to binary.
513M¥
E BIN
0.
Conversion to binary mode generates an error if the result is greater than 10 digits.
Conversion of 7FFFFFFF
16
to decimal.
M¦7FFFFFFFM¤
2147483647.
Conversion of 123456
10
to octal.
123456M§
OCT
361100.
Conversion of 1100110
2
to decimal.
M¥1100110M¤
102.
Binary/octal/decimal/hexadecimal calculations
M
10111
2
+ 11010
2
= 110001
2
¦§
M¥1011+1101=
BIN
11000.
¥¤
123
8
x ABC
16
=37AF4
16
M§123*M¦ABC=
HEX
37AF4.
=228084
10
M¤
228084.
1F2D
16
100
10
=7881
10
M¦1F2D-M¤100
7881.
=1EC9
16
M¦=
HEX
1EC9.
6. Binary, octal and hexadecimal values
M
¦§
¥¤
Use the M key to set the number base. When you use bases other than 10, you can only
enter numbers valid for the baseeg, in binary mode you can only enter 1 and 0.
M¦ sets the mode to hexadecimal. In hexadecimal mode, A to F keys are enabled.
Note that b and d in hexadecimal mode are shown in lower case to distinguish them from
numbers.
M§ sets the mode to octal.
M¥ sets the mode to binary.
M¤ sets the mode to decimal.
Note:
When using a number base other than 10, any fractional part is truncated.
Binary, octal and hexadecimal values
English.PM6
3/3/99, 3:45 PM
16