HP 6s HP 6S Scientific Calculator - (English) User's Guide - Page 16

Binary, octal and hexadecimal values

Page 16 highlights

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 base—eg, 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/decimal/hexadecimal conversions Conversion of 2210 to binary. Conversion of 2210 to octal. Conversion of 51310 to binary. 22M¥ BIN M§ OCT 513M¥ E BIN 10110. 26. 0. Conversion to binary mode generates an error if the result is greater than 10 digits. Conversion of 7FFFFFFF16 to decimal. M¦7FFFFFFFM¤ 2147483647. Conversion of 12345610 to octal. 123456M§ OCT 361100. Conversion of 11001102 to decimal. M¥1100110M¤ 102. Binary/octal/decimal/hexadecimal calculations M ¦§ ¥¤ 101112 + 110102 = 1100012 M¥1011+1101= BIN 1238 x ABC16 =37AF416 =22808410 1F2D16 – 10010 =788110 =1EC916 M§123*M¦ABC= HEX M¤ M¦1F2D-M¤100 M¦= HEX 11000. 37AF4. 228084. 7881. 1EC9. 16 Binary, octal and hexadecimal values

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21

16
Binary/octal/decimal/hexadecimal conversions
Conversion of 22
10
to binary.
22M¥
BIN
10110.
Conversion of 22
10
to octal.
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 base³eg, in binary mode you can only enter
1
and
0
.
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.
sets the mode to octal.
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