Homework Solution: Please do the following calculation based on two's complement numbers (only 4-bit can be used to represent num…

    Please do the following calculation based on two's complement numbers (only 4-bit can be used to represent number) and show the steps, please. (6)10 - (3)10 =

    Expert Answer

     
    Dera Student, here is the answer... ----------------------------------------------------------------------------------------------------------------------------------------- The given expression is: 6 - 3

    Gladden do the aftercited consideration established on couple’s fulfilment gum (barely 4-piece can be used to embody sum) and likeness the steps, gladden.

    (6)10 – (3)10 =

    Expert Repartee

     

    Dera Student,

    here is the repartee…

    —————————————————————————————————————————————–

    The consecrated countenance is:

    6 – 3

    we can transcribe the overhead countenance as 6 + (-3)

    step 1: 6 in 4 piece binary = 0110

    -3 is a denying sum so to appropriate this sum couple binary estimate we want to meet extinguished the couple’s praise.

    step :2 initiative the actual estimate = 3

            3 in 4 piece binary == 0011

    step: 3 invert the digits of 0011

    after inverting the digits binary estimate = 1100

    step:4: Now append 1 to the estimate

             future             1100

                                   +    1

                                   ———

                                    1101

                                   ———

    step : 5: now appending the estimates 6 and -3

        6        =      0110

    +(-3)      =     +1101

    —————————–

       3         =    1 0011

    ——————————-

       So in the overhead consideration we got a push notwithstanding we want to embody the sum in barely   4 pieces future the issue is 0011

    Ans = 0011