Notas
Chapter 22, Digital data
Conteúdo das notas (3)
Página 1
Comparison and ones compliment
0100111 = 78
10110001 = - 78
Once you represent the binary number into the opposite number, it becomes negative and therefore, is it's compliment.
10001101 = ?
We work backwards to find if its positive or negative
01110010 = 114
So the first number is the negative compliment.
00010011 = 19
Once you invert it;
11101100 = -19
*If a number starts with 1 and it asks you for the ones compliment, the number starting with one will always be negative.
** Otherwise the starting number will not tell if its positive or negative.
Página 2
Twos Compliment
These numbers are in Two's compliment;
7 = 00000111
-7 = 1111100
+1
-7 = 1111101
6 = 00000110
-6 = 11111001
+ 1
- 6 = 11111010
Página 3
Informações
- Descrição
- Digital Technology Notas sobre Chapter 22, Digital data, criado por Ellen MUR em 07-01-2020.
- Criado por
- Ellen MUR
- Visualizações
- 1
- Avaliação