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 anticipation naturalized on span’s fulfilment bulk (barely 4-morsel can be used to play enumerate) and parade the steps, content.

    (6)10 – (3)10 =

    Expert Counter-argument

     

    Dera Student,

    here is the counter-argument…

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

    The ardent indication is:

    6 – 3

    we can transcribe the aloft indication as 6 + (-3)

    step 1: 6 in 4 morsel binary = 0110

    -3 is a indirect enumerate so to alter this enumerate span binary appreciate we scarcity to discover quenched the span’s flattery.

    step :2 gate the unequivocal appreciate = 3

            3 in 4 morsel binary == 0011

    step: 3 invert the digits of 0011

    after inverting the digits binary appreciate = 1100

    step:4: Now supplement 1 to the appreciate

             hereafter             1100

                                   +    1

                                   ———

                                    1101

                                   ———

    step : 5: now supplementing the appreciates 6 and -3

        6        =      0110

    +(-3)      =     +1101

    —————————–

       3         =    1 0011

    ——————————-

       So in the aloft anticipation we got a raise excepting we scarcity to play the enumerate in barely   4 morsels hereafter the consequence is 0011

    Ans = 0011