Senin, April 19, 2010

idris mulyono would like to connect with you on Yahoo!

Yahoo!
idris mulyono (Kinai Dzik)
would like to connect with you on Yahoo! so you can easily share each others' Updates

Accept invitation
Once you accept, you get to share Updates on Yahoo! such as:
• Photos, reviews, videos, status messages, and much more
• Contact information changes
• Automatic birthday reminders

Accept invitation.
What are Updates on Yahoo!?
This invitation will expire after 180 days.
Want to control which emails you receive about your connections and your profile on Yahoo!?
Go to: http://profiles.yahoo.com/settings/notifications

Rabu, November 25, 2009

Teknik Digital/Komplemen








Komplemen






Komplemen -1

 

Untuk menampilkan bilangan negative atau positif dengan
memanfaatkan bit paling kiri.

 

# Bila bit = 0,menunjukkan bilangan positif

# Bila bit = 1,menunjukkan bilangan negative

 

Contoh :

 

0000 1010 = 10 (positif)

1000 1010 = -10 (negative)

 

Untuk komplemen 1 caranya dengan mengubah bit 0 menjadi 1
dan bit 1 menjadi 0

 

Contoh :

Komplemen -1 dari  110001

Adalah                      001110

 

Contoh penggunaannya :

 

1100 – 1000

 

# cari komplemen 1 dari 1000,-àyaitu
0111

 

# lakukan penjumlahan

                                                                                                  
Jumlahkan

1100                           
à 4
bit                                                              0011

0111             
à 4
bit                                                                    1

____+                                                                                     
____+

  10011             à
5 bit (ada overflow index)                              0100
ß hasil yang dicari

 

 

 

Komplemen 2 = komplemen 1+1

 

Contoh :

Komplemen 2 dari 10001

Komplemen 1 à  
01110

Tambahkan  1                1

                               _____+

                               01111

 

Jadi, komplemen 2 dari 10001 adalah 01111

 

Penerapan

 

1101 – 1010 = ?

komplemen 1 à
1010 à  0101

                   2 à                      
1

                                           ____+

                                           0110

 

 

lakukan penjumlahan

 

   1101

   0110

  
____+

 10011   à
hasilnya adalah 0011

 

 

diabaikan





Teknik Digital/Operasi Bilangan







TEKNIK DIGITAL






TEKNIK DIGITAL



Operasi Aritmatika

a. Penjumlahan
    Aturan :
      0                      0                     
1                      1
      0                      1                     
0                      1
      __+                  __+                 
__+                  __+
      0                      1                     
1                      0--à simpan 1


      Contoh :
      100010(2) + 10010(2) =

      100010
      010010
      ______+
      110100   ß
6 bit

b. Pengurangan
    Aturan :
      0                      0                     
1                      1
      0                      1                     
0                      1
      __-                   __-                  
__-                   __-
      0                      1àpinjam
1     1                      0
     

      Contoh :
     
      10001                                      1101
      01000                                      0101
      _____-                                     ____-
      01001                                      1000

c. Perkalian
    Aturan :

      0                      0                     
1                      1
      0                      1                     
0                      1
      __x                  __x                 
__x                  __x
      0                      0                     
0                      1


      Contoh :
                              1110
                                  11
                              ____x
                              1110
                            1110
                              ____+
                            11010


d. Pembagian
     11101001 : 1101 = ?

      1101 / 11101001  = 10001
                 1101
                 ________
                        11001
                          1101
                        _____
                          1100
ß sisa