REDIRECTING
Please  wait  FisadDi  is  on  the  way.

FisadDi

FisadDi.com
11. Binary Subtraction

Download Notes

Computer Organization & Architecture

Binary Subtraction


◼ Subse phele bat krte hai ki subtraction kya hota hai.
    Agar 56 – 17 = 39 hota hai
    Lekin ye Decimal number m subtraction kiya h lekin jub Binary number m addition karna ho to 4 rules hote h.
◼ NOTE:- Binary number m subtraction karte hua sirf 0 or 1 ko hi lenge.
  FisadDi_Image
  FisadDi_Image
  FisadDi_Image
◼ Main ye betane ja rha hu ki 0 – 1 = 1 kaise hota hai jaise image main kiya hai.
◼ Let's take an example
    (10101)2 - (01101)2 = (?)2
  FisadDi_Image
◼ Jha se start from here likha hai wha se start karnge.
◼ Sabse phele 1 main se 1 minus karnge toh 0 ayega jaise image main likha hai.
◼ Fir 0 main se 0 minus karnge toh 0 ayega.
◼ Or 1 main se 1 minus karnge toh bhi 0 ayega.
◼ Lekin ab 0 main se 1 ko minus karna h usko karne ke liye borrow (udhaar ) lena hoga.
  FisadDi_Image
◼ Ab kya kar rhe ki hum dakh rhe hai ki 0 joh hai who 1 se chota hai toh ab ye kya karega apne aage wale number se borrow (udhaar) lega.
◼ Jaise hi borrow le lega aage wala 1 kat kar 0 ho jayega or 0 jo borrow le raha h wo ab one zero (1 0) ho jayega. Isse hum TEN nahi bolenge kyoki (1 0)2 Binary number h or (1 0)2 = (2)10 hota h Decimal number main.
◼ Ab 2 main se 1 minus karnge to 1 aayega lekin ye Decimal main aaya h kyoki humne pehle (1 0)2 ko Decimal (2)10 main convert kiya to jo answer usko wapas se Binary main convert karenge.
◼ Or 1 ka Binary Conversion 1 hi hota h to hum answer main 1 likhege.
◼ Finally last 0 main se 0 minus karnge to 0 hi ayega.
  FisadDi_Image
◼ Finally humara result aagya toh jaise image main likha hai waise likh denge.
    (10101)2 - (01101)2 = (01000)2

<-------------------END------------------>

Agar aapko iss Topic m kuch bhi problem h to aap husme freely puche
Fisaddi.helpdesk@gmail.com

Thank You
Team FisadDi

Download Notes


About Us

Hello Friends, FisadDi is working to help students with their subjects. We provide videos as well as text notes in hindi language to make study easy. Our agenda is not only to help students to get good marks but also they will get the right knowledge and learn how the things work in a very easy way in their mother tongue. We are working hard to help in making your bright future.


Thank You
Team FisadDi


Contact Us

contact.fisaddi@gmail.com

Ghaziabad, India

8376873936


 
   
 
© www.fisaddi.com. All Rights Reserved.