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

    Delight do the subjoined apportionment fixed on span’s supply total (solely 4-morsel can be used to resemble reckon) and exhibition the steps, delight.

    (6)10 – (3)10 =

    Expert Solution

     

    Dera Student,

    here is the solution…

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

    The absorbed countenance is:

    6 – 3

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

    step 1: 6 in 4 morsel binary = 0110

    -3 is a indirect reckon so to turn this reckon span binary prize we demand to confront quenched the span’s praise.

    step :2 leading the enacted prize = 3

            3 in 4 morsel binary == 0011

    step: 3 invert the digits of 0011

    after inverting the digits binary prize = 1100

    step:4: Now append 1 to the prize

             future             1100

                                   +    1

                                   ———

                                    1101

                                   ———

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

        6        =      0110

    +(-3)      =     +1101

    —————————–

       3         =    1 0011

    ——————————-

       So in the over apportionment we got a push excluding we demand to resemble the reckon in solely   4 morsels future the outcome is 0011

    Ans = 0011