Fungsi Sistem notasi
two’s complement
|
Pola bit
|
Nilai yg direpresentasikan
|
|
0111
|
7
|
|
0110
|
6
|
|
0101
|
5
|
|
0100
|
4
|
|
0011
|
3
|
|
0010
|
2
|
|
0001
|
1
|
|
0000
|
0
|
|
1111
|
-1
|
|
1110
|
-2
|
|
1101
|
-3
|
|
1100
|
-4
|
|
1011
|
-5
|
|
1010
|
-6
|
|
1001
|
-7
|
|
1000
|
-8
|
|
Soal dalam notasi basis sepuluh
|
|
Soal dalam notasi two’s complement
|
|
Jawaban dalam notasi basis sepuluh
|
|
3
+ 2
|
→
|
0011
- 0010
0101
|
→
|
5
|
|
-3
+ -2
|
→
|
1101
- 1110
1011
|
→
|
-5
|
|
7
+ -5
|
→
|
0111
- 1011
0010
|
→
|
2
|
Subscribe
Twitter
Facebook
0 kocatat(s):
Posting Komentar
Comment as you like, but keep respect :)