Question:

What is the equivalent of -35 base 10 in a 8 bit 2's complement representation?

by  |  earlier

0 LIKES UnLike

help wld. be appreciated. thanks

 Tags:

   Report

2 ANSWERS


  1. To find the 2's complement, just flip the bits of the positive value and add 1, ignoring overflow.

    +35 = 00100011

    flipping bits makes it 11011100, then add 1 for the result of 11011101


  2. ur calc.exe could be of great use...

    start-> run-> calc->scientific mode

    35 base 10 is 0010 0011

    finding 2' of 35 will give value for -35.

    so, -35 base 10 is 1101 1101

    fine?. lets verify if this is true.

    +35+(-35)=0.

    so , 0010 0011+ 1101 1101 = 1]  0000 0000

    ignoring the overflow, as our calculation is concerned for only 8 bits..

Question Stats

Latest activity: earlier.
This question has 2 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.
Unanswered Questions