Show the r-1s complement, Electrical Engineering

Assignment Help:

Q. Show the r-1s Complement?

  • Subtract every digit of the number from r-1 (the radix of the system - 1)ex.

            95210                                    

                                                9 9 9

                                                9 5 2 -

                                               0 4 7 (9's complement)

  • To represent the negative number using the one's complement, write out the value (absolute value) of the number. then subtract each digit from r-1 ex.

5                    0000 0101

to represent -5

            1 1 1 1 1 1 1 1

            0 0 0 0 0 1 0 1 -

           1 1 1 1 1 0 1 0     (this is -5 in one's complement)

  • Notice that a sign bit is correct (it became 1) which indicates a negative number.
  • The Problems with using r-1's complement

            - zero has two representations

                        +0                    0000 0000

                        -0                     1111 1111

               but +0 and -0 are equal (so the machine has to know this)

            - Addition is harder


Related Discussions:- Show the r-1s complement

Design mux, Design 8:1 Mux for a given function, f=Σ (0, 1,5,7,9, 13)

Design 8:1 Mux for a given function, f=Σ (0, 1,5,7,9, 13)

Develop an analog computer simulation diagram, Q. Develop an analog compute...

Q. Develop an analog computer simulation diagram to solve the differential equation with y(0) = 2 and ? y(0) = 0.

Buck boost converter - power supplies , Buck Boost Converter The outpu...

Buck Boost Converter The output  of buck boost  regulator may be  less than  or greater than the  input  voltage. Since  the polarity of output  voltage  is opposite  to that

Discuss mode - 2 of programmable peripheral interface, Discuss mode -2 (bi-...

Discuss mode -2 (bi-directional mode) of 8255 (Programmable Peripheral Interface). Only permitted with port A. Bi-directional bus data used for interfacing two computers and GP

Draw the schematic diagram of the arrangement, Q. A two-winding, single-pha...

Q. A two-winding, single-phase transformer rated 3 kVA, 220:110 V, 60 Hz is connected as an autotransformer to transform a line input voltage of 330 V to a line output voltage of 1

Determine the fall-off rate, Q. A low-pass filter circuit is shown in Figur...

Q. A low-pass filter circuit is shown in Figure. Using a PSpice program and PROBE, obtain the Bode magnitude plot for the transfer function ¯H(f) = ¯V out / ¯V in for the frequ

Transistor, Transistor A transistor is a semiconductor device that is ...

Transistor A transistor is a semiconductor device that is employed to amplify and switch electronic signals. It is made up of a solid piece of semiconductor material, with min

Effect of temperature on resistivity of conducting materials, Explain the e...

Explain the effect of temperature on the resistivity of conducting materials. The resistance of most metals rises with rise of temperature whereas that of semiconductors and el

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd