0% found this document useful (0 votes)
86 views7 pages

Numeral Systems: 1. Convert Base 10 (0 1 2 3 4 5 6 7 8 9) Base K

1. The document discusses various numeral systems and how to convert between bases 10, 2, 8, and 16. 2. It provides steps to convert numbers between different bases, add, subtract, multiply and divide numbers in different bases, and explains two's complement notation. 3. Examples are given of converting specific numbers between bases and performing arithmetic on numbers in bases 2 and 16.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
86 views7 pages

Numeral Systems: 1. Convert Base 10 (0 1 2 3 4 5 6 7 8 9) Base K

1. The document discusses various numeral systems and how to convert between bases 10, 2, 8, and 16. 2. It provides steps to convert numbers between different bases, add, subtract, multiply and divide numbers in different bases, and explains two's complement notation. 3. Examples are given of converting specific numbers between bases and performing arithmetic on numbers in bases 2 and 16.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

Numeral Systems

1. Convert Base 10 {0; 1; 2; 3; 4; 5; 6; 7; 8; 9} à Base K


1.1. Base 10 à Base 2 {0; 1}
21.125 (10) à X (2)

Result: 21.125 (10) = 10101.001 (2)

1.2. Base 10 à Base 16 {0; 1; 2; 3; 4; 5; 6; 7; 8; 9; A; B; C; D; E; F}


923 (10) à Y (16)

923 16

B 57 16

9 3 16

3 0

Result: 923 (10) = 39B (16)

1.3. Base 10 à Base 8 {0; 1; 2; 3; 4; 5; 6; 7}


2. Convert Base 2 à Base 10
10110 (b) à X (d)

Result: 10110 (b) = 22 (d)

10.110 (b) à Y (d)

Result: 10.110 (b) = 2.75 (d)

3. Convert Base 2 ßà Base 16


3.1. Base 16 à Base 2
15AF (16) à X (2)

Result: 15AF (16) = 1010110101111 (2)


3.2. Base 2 à Base 16
1010110111111 (2) à Y (16)

Result: 1010110111111 (2) = 15BF (16)

4. Convert Base 2 ßà Base 8


1010110111 (2) à X (8)

Result: 1010110111 (2) = 1267 (8)


5. Addition
1110 (2) + 1000 (2) = ?

Result: 1110 (2) + 1000 (2) = 10110 (2)

11.011 (2) + 10.110 (2) = ?


1 1 .0 1 1
+
1 0 .1 1 0
1 1 0 .0 0 1

Result: 11.011 (2) + 10.110 (2) = 110.001 (2)

82BA (16) + B781 (16) = ?


8 2 B A
+
B 7 8 1
1 3 A 3 B

Result: 82BA (16) + B781 (16) = 13A3B (16)

6. Multiple
1011 (2) x 10 (2) = ?
Result: 1011 (2) x 10 (2) = 10110 (2)

234A (16) x AB (16) = ?


2 3 4 A
x
A B
1 8 4 2 E
1 6 0 E 4
1 7 9 2 6 E
Result: 234A (16) x AB (16) = 17926E (16)

7. Subtract
1010 (2) - 111 (2) = ?

_ 1 0 1 0
0 1 1 1
0 0 1 1
Result: 1010 (2) - 111 (2) = 11 (2)
F121 (16) – B781 (16) = ?
F 1 2 1
_
B 7 8 1
3 9 A 0
Result: F121 (16) – B781 (16) = 39A0 (16)

8. Divide
11101 (2) : 101 (2) = ?

Result: 11101 (2) : 101 (2) = 101 (remainder = 100).

9. Two’s complement notation systems


Leftmost bit: sign bit
One’s complement: Changing all the 0s to 1s, all the 1s to 0s.
Two’s complement: Add 1 to the one’s complement.
-5 (10) à Binary?
Result: -1x27 + 1x26 + 1x25 + 1x24 + 1x23 + 0x22 + 1x21 + 1x20 = -5

5 – 5 = 5 + (-5) = 0

6 bit - sized interger.


001100 (12) à 110100 (-12)
001001 (9) à 110111 (-9)

1 1 0 1 0 0 (-12)
+
1 1 0 1 1 1 (-9)
1 0 1 0 1 1 (-21)

_
0 0 1 0 0 1 (9) 0 0 1 0 0 1 (9)
+
0 0 1 1 0 0 (12) 1 1 0 1 0 0 (-12)
1 1 1 1 0 1 (-3) 1 1 1 1 0 1 (-3)

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy