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

    Content do the subjoined care fixed on two’s fulfilment collection (barely 4-morsel can be used to resemble compute) and pretext the steps, content.

    (6)10 – (3)10 =

    Expert Exculpation

     

    Dera Student,

    here is the exculpation…

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

    The loving countenance is:

    6 – 3

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

    step 1: 6 in 4 morsel binary = 0110

    -3 is a denying compute so to transmute this compute two binary estimate we demand to ascertain quenched the two’s praise.

    step :2 taking the assured estimate = 3

            3 in 4 morsel binary == 0011

    step: 3 invert the digits of 0011

    after inverting the digits binary estimate = 1100

    step:4: Now append 1 to the estimate

             hereafter             1100

                                   +    1

                                   ———

                                    1101

                                   ———

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

        6        =      0110

    +(-3)      =     +1101

    —————————–

       3         =    1 0011

    ——————————-

       So in the overhead care we got a heave yet we demand to resemble the compute in barely   4 morsels hereafter the outcome is 0011

    Ans = 0011