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

DC generators, 3. Why the external characteristics of a DC shunt generator ...

3. Why the external characteristics of a DC shunt generator is more drooping than that of a separately excited generator?

Analysis flow, Analysis Flow Similar to most subjects, the analysis of...

Analysis Flow Similar to most subjects, the analysis of semiconductor devices is also performed by starting from simpler problems and regularly progressing to more complex one

D flip-flop - latch or delay element, Q. D flip-flop - latch or delay eleme...

Q. D flip-flop - latch or delay element? The symbol for the clocked D flip-flop is shown in Figure (a), in which the two output terminals Q and ¯ Q behave just as in the SRFF,

Sommerfield’s free electron theory, Write down basic postulates of sommerfi...

Write down basic postulates of sommerfield’s free electron gas model. Show that the number of energy states per unit energy is given by g(E) = 4Rv/h 3 (2m) 3/2 E 1/2 .  What is

Electrical engineering, 4. Modify the circuit designed for question 3 to pr...

4. Modify the circuit designed for question 3 to provide an emergency stop which will park both cylinders in the extended position (i.e. A + B +). 5. Modify the circuit designed fo

Clippers, Which clipper would you prefer between the series and the shunt c...

Which clipper would you prefer between the series and the shunt clipper? Why?

EEE, ferroelectric materials are charatrised by

ferroelectric materials are charatrised by

Explain the working of elecro static precipitator, With the help of neat an...

With the help of neat and clean diagram illustrate the working of Elecro Static Precipitator (ESP). Describe the following: (a) Coal Handling Systems (b) Coal Storage

Electrostatic sprayer, I would like to know the materials needed for electr...

I would like to know the materials needed for electrostatic sprayer.

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