W152100008 –
Arsitektur
Komputer
Aritmatika Komputer 2
(Perkalian dan Pembagian)
Abstrak Sub-CPMK
Pembahasan
This item's classification is Internal. It was created by and is in property of the Home Credit. Do not distribute outside of the organization.
Konversi Bilangan
Konversi bilangan adalah suatu proses dimana satu sistem bilangan dengan
basis tertentu akan dijadikan bilangan dengan basis yang lain.
1. Desimal (Basis 10) adalah Sistem Bilangan yang paling umum digunakan dalam
kehidupan sehari-hari. Sistem bilangan desimal menggunakan basis 10 dan
menggunakan 10 macam simbol bilangan yaitu : 0, 1, 2, 3, 4, 5, 6, 7, 8 dan 9.
2. Biner (Basis 2) adalah Sistem Bilangan yang terdiri dari 2 simbol yaitu 0 dan 1.
3. Oktal (Basis 8) adalah Sistem Bilangan yang terdiri dari 8 Simbol yaitu 0, 1, 2, 3, 4, 5,
6, 7.
4. Hexadesimal (Basis 16), Hexa berarti 6 dan Desimal berarti 10 adalah Sistem
Bilangan yang terdiri dari 16 simbol yaitu 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A(10), B(11), C(12),
D(13), E(14), F(15). Pada Sistem Bilangan Hexadesimal memadukan 2 unsur yaitu
angka dan huruf. Huruf A mewakili angka 10, B mewakili angka 11 dan seterusnya
sampai Huruf F mewakili angka 15.
Konversi Bilangan
1. 25410=………….2
254 : 2 = 127 sisa 0
127 : 2 = 63 sisa 1
63 : 2 = 31 sisa 1
31 : 2 = 15 sisa 1
15 : 2 = 7 sisa 1
7 : 2 = 3 sisa 1
3 : 2 = 1 sisa 1
1:2= 0 sisa 1
This item's classification is Internal. It was created by and is in property of the Home Credit. Do not distribute outside of the organization.
0:2= 0 sisi 0
Jadi 25410 = 111111102 diurutkan dari sisa pembagian terakhir sebagai MSB (Most
Significant Bit)
111111102=……….10
= ( 1 x 20 ) + ( 1 x 2 1 ) + ( 1 x 2 2 ) + ( 1 x 2 3 ) + ( 1 x 2 4 ) + ( 1 x 2 5 ) +
( 1 x 26 ) + ( 0 x 2 7 )
= ( 0 ) + ( 2 ) + ( 4 ) + ( 8 ) + ( 16 ) + ( 32 ) + ( 64 ) +( 128 )
= 25410
Yaitu dengan cara membagi bilangan desimal dengan 8 kemudian diambil sisa
pembagiannya.
Contoh :
4097 10 = ….8
4097 : 8 = 512 sisa 1
512 : 8 = 64 sisa 0
64 : 8 = 8 sisa 0
8 : 8 = 0 sisa 0
Sehingga 409710 = 00018.
Yaitu dengan cara membagi bilangan desimal dengan 16 kemudian diambil sisa
pembagiannya.
Contoh :
388810 = …. 16
Caranya:
This item's classification is Internal. It was created by and is in property of the Home Credit. Do not distribute outside of the organization.
3888 : 16 = 243 sisa 0
243 : 16 = 15 sisa 3
0 : 16 = 0
Sehingga 388810 = F3016
This item's classification is Internal. It was created by and is in property of the Home Credit. Do not distribute outside of the organization.
Operasi Perkalian
Perkalian biner dapat juga dilakukan seperti perkalian desimal, bahkan jauh lebih mudah
karena pada perkalian biner hanya berlaku empat hal, yaitu :
0×0=0
0×1=0
1×0=0
1×1=1
Untuk lebih jelasnya dapat dilihat seperti beberapa contoh di bawah ini.
Contoh:
1001 101
10110 +
1011 + 1101110
1100011
∴ 101102 × 1012 =11011102
∴ 10112 ×
10012= 11000112
This item's classification is Internal. It was created by and is in property of the Home Credit. Do not distribute outside of the organization.
2023 Arsitektur Komputer Biro Bahan Ajar E-learning dan MKCU
6 Suhendra, S.Kom, M.Kom http://pbael.mercubuana.ac.id/
This item's classification is Internal. It was created by and is in property of the Home Credit. Do not distribute outside of the organization.
Perkalian sistem bilangan oktal dan heksadesimal
● kalau hasil perkalian tiap kolom terdiri dari 2 digit, maka digit paling kiri merupakan
carry of untuk ditambahkan pada hasil perkalian kolom selanjutnya.
25 453
14 × 65 ×
124 2727
25 + 3402 +
374 36747
527 1A5
74 × 2F ×
149C 18AB
2411 + 34A +
255AC 4D4B
This item's classification is Internal. It was created by and is in property of the Home Credit. Do not distribute outside of the organization.
∴ 52716 × 7416 =255AC16 ∴ 1A516 × 2F16 =4D4B16
This item's classification is Internal. It was created by and is in property of the Home Credit. Do not distribute outside of the organization.
Operasi Pembagian
1. Pembagian biner pada dasarnya sama dengan pembagian desimal, bedanya nilai
yang dihasilkan hanya 0 dan 1
2. Bit-bit yang dibagi diambil bit per bit dari sebelah kiri. Apabila nilainya lebih dari bit
pembagi, maka bagilah bit-bit tersebut. Jika setelah bergeser 1 bit nilainya masih
dibawah bit pembagi, maka hasil bagi sama dengan 0.
Untuk pembagian bilangan biner tak ubahnya seperti pada pola pembagian bilangan
desimal. Lebih jelasnya dapat dilihat caranya seperti beberapa contoh berikut ini:
Contoh:
This item's classification is Internal. It was created by and is in property of the Home Credit. Do not distribute outside of the organization.
124 3123
124 – 2346 –
0 5556
5556–
∴ 3748 ÷ 258 = 148 0
151E3 = 17 527255AC= 74
15 – 2411 –
93 149C
93 – 149C–
0 0
This item's classification is Internal. It was created by and is in property of the Home Credit. Do not distribute outside of the organization.
Daftar Pustaka
1. Stallings, William. 2012. Computer Organization and Architecture 9th Edition.
Pearson
2. [2] Desain Digital dan Arsitektur Komputer, Syahrul dan Abdullah Basalamah,
2016
3. Abdurohman, Maman. 2014. ORGANISASI & ARSITEKTUR KOMPUTER.
Informatika
4. Kumpulan modul dosen UMB
This item's classification is Internal. It was created by and is in property of the Home Credit. Do not distribute outside of the organization.