click the bell icon to get latest videos

from Ekeeda Hello friends today we are going to see what is one compliment

method so in today’s video we are going to see how the binary subtraction is

performed using the ones complement method what is compliment method is

nothing but in this method you can perform the subtraction by using the

binary addition method so there are different kind of rules and there are

different kind of set of steps using which you can perform the ones

compliment subtraction so let’s start with the words compliment subtraction so we have so far we have seen the

binary addition and the subtraction rule now we are going to see what they mean

by the ones complement subsection method so I am going to tell you the different

steps to perform the subtraction the step number one is to find out the

binary of number a suppose you have the two number that is number a and the

number P the first step will always be to find out the binary of number a okay

now we have to number that is a and B so in this case my first number will be a

and my second number will be let us take an example the value of a each step and

the value of B is 15 so first number will be 10 and the second number will be

15 so that in the first step you will find out the binary of 10

okay now let’s now let’s see the next step in the second step find out the

ones complement of P in our case the second number is 15 so what we will do

is we will find out the ones complement of 50 so this is me so in the second

step we will find out the ones complement of P now let’s see the third

step in the third step what we have to do is we have to add the safe number one

and step number two but in the first step what we have caught the binding

your fail that means you will add the binary of number a and in the second

step you have got one’s complement of B that is one’s complement of 50 so in the

second step once come here 15 so the binary of a and the ones complement of

50 you will add in the step number three okay

now this step for the step four plays a very important role because from the

step four you will be able to know whether your answer is positive or

negative so in the binary how you will identify whether your answer is positive

or negative so there is one trick over here now watch carefully we have two

numbers means we have assumed a an example two numbers that is number 10

and number 15 okay so in a normal deck see my subtraction if you subtracted

number 10 from 15 what you will get you will get the minus five okay so in the

decimal you are able to know how to give the minus sign that is when we are

subtracting the small number very exciting when we are subtracting the big

number from this morning so here also we have country using which we can identify

when there are binary subtraction is positive or negative so from the step

number three you will get the answer that is of addition of step number four

nine two okay I mean step number four in step number four what we are going to do

is if carry one is present like suppose you have four digits of binary like this

one zero one zero okay after step number three you have got this as an answer and

after addition of tune and suppose this this one carries freeze him okay this

this is the extra one okay if the caddiebuddy is present then what

you have to do is then you are answer is positive okay

now using this trick you can identify whether your answer is positive or

negative so if after the addition after the step three if you got the Cadi

that means young city squad city okay and if the cabbies up same that means

you answer this thing you do suppose this one is not present over here so

that means your answer is negative but how to write it in its final correct

answer this one this step won’t give you the final correct answer okay we have to

find out to find the correct answer this step only gives us the information

that there are answer this positive or negative now if your answer is positive

you have to make the end or uncaring and if you answer is negative that means if

the carry is of same you have to find out the ones complement that particular

value that you got from second of a three now what do you mean by the end

around cattle in end are carrying what you do if the carry is present you

simply add this in this answer so what you will get 0

plus 1 is 1 1 as it is 0 as too simple so this will be of 5 minutes

this is just an example this is not the subtraction of 10 and 15 I have just

taken the example under this values okay so if you got the callee as 1 that means

your answer is positive and the final correct answer you will care after

making the interim carry and end-around carry means adding 1 into that ok now

what is the carry is absent suppose this carry is not present here we have only

got 1 0 1 0 fellow then I answer is negative but this is not the final

corrected answer for this again we have to find out the ones complement of that

answer once suppose we have got 1 0 1 0 in the step number 3 and the carry is

absent that means I answer is negative and we have to find out the ones

complement of number 1 what do you mean by the ones compliment once compliment

is simply the blessing 0 by fans and replacing 1 by zeros so that means if 0

is present we will replace the 0 by a fan and if the one is present we will

declare this week 1 by 0 now again 0 is present now find out the

ones from diamond what we will do is we will replace this 0 value by a fan and

again if money’s present we will replace this value by 0 okay so this is the

important step if you write down the answer in a set number three only thank

you won’t get the answer that’s right ok you have to see whether your answer is

positive or negative and then only you can verify it

to verify the answer what you can do is first of all just perform the addition

or subtraction in a decimal and after if you are getting the answer convert this

final answer binary number again into the dressing so that you will be able to

know whether your answer is right or wrong

now let us take an example of 9 minus 5 over here okay here what we have to do

is we have to perform the binary subtraction and we will pop on the

binary subtraction using one’s complement method so let’s start the

strength and say ok first it what was the first step first step was

to find out the binary of a okay here we have two

numbers so assume this number as E and this number asking okay so according to

the first step we have to find out the binary of it but so what is the binary

of nine the binary of many means this is the binary of nine okay damn say I said

in the second step we have to find out the ones complement of B so here are our

second number is five so to find out the ones complement of five first of all we

have to convert this decimal number into the binary so what is the binary

conversion on file so the conversion of five is zero one

zero one okay and what we have to do is in the second but see we have seen that

we have to and the step number one and step number two but in the set number

two if you have to find out the ones complement of B that is the second

number so here we have just find out the binary conversion of five now to find

out the ones complement of five we will just replace 1 by 3 0 and 0 by 1 so this

is the ones complement now let’s start with the last X in this stage is very

important in this stage we have to add the second number one and two so in a

set number 1 we have seen 1 0 0 and from the step number two we are positive ones

complement of 5 now let’s do the addition 1 plus 0 can

give us 1 so you dope less what will give once 1 0 / 0 being over 0 and in

the binary addition we have seen that 1 plus 1 will always give us 0 and carry

baby 1 so how you will identify whether the

Kyrie is present or not here we have the fortitude and here also we have the

fortitude but after answer we have got five digit okay so if one is present

that means the carry is present now in the step number four we have seen if the

carry is present if the carry is present we have to make the end round carry and

a around carry means we have to add this scary in the answer so what we will do

is we will make the end around carry okay so we will add this one in do not

these answers 1 plus 1 will give 0 carry will be 1 and again 1 plus 1 will give

us 0 carry will be fun and this 0 plus 1 1 & 0

now let’s see so now this is our final answer but to verify this answer let’s

see 9 minus 5 in decimal will give us 4 ok and what we will do to verify this

answer we will convert this mind enough oil to a decimal number so let’s convert

this number so 1 is to 4 these are the advantages so from the vantage as you

can see we are called this answer as 4 therefore in the final subtraction we

have this value is zero one zero zero

Thank You France for watching today’s video today we have seen how do we

perform the ones of payment method also different kind of method to perform

subtraction we are going to see in the next video so stay tuned to equalize

channel to watch the latest video you

## 1 Comment

## Ekeeda · February 26, 2019 at 7:11 am

Hello Friends,

Watch Full Video Series of Subject Application of Electronics Class 12 Complete Free only on Ekeeda Application.

Download Ekeeda Application.

Android:- https://play.google.com/store/apps/details?id=student.ekeeda.com.ekeeda_student&hl=en

iOS:- https://itunes.apple.com/tt/app/ekeeda/id1442131224