You are on page 1of 1

NA 0 1 1 1 1 1 0 0

In Binary, Subtraction is not done directly it is done by taking a MINUS sign for a positive
number.

For subtraction changing +224 to -224:-

-124 :-
Sign bit 7 -bits

NA 1 0 0 0 0 1 0 0

Now, covert it to signed 2’s complement notation:-

-99 :-
Sign bit 7 -bits

NA 1 0 0 1 1 1 0 1

-124 :-
0 6
Sign bit 7 -bits

i a 0
NA 1 0 0

o
0

n 0 1 0 0

l p o
ni
Simple trick to convert any binary value to its signed 2’s complement notation is Check for the
first one (i.e. 1) in the magnitude of the number from Right to Left when you find it, Keep the

and vice-verse.
-99 :-
Sign bit
u
number unchanged till one (i.e. 1) and remaining number reverse it by changing value from 0 to 1

s 7 -bits

NA 1 0 0 1 1 1 0 1

-124 :-
NA 1 0 0 0 0 1 0 0

-223 :-
Carry bit

NA 1 0 0 1 0 0 0 0 1

Overflow condition occured.

Thanks for visiting us!! Subscribe!!  Page 3

You might also like