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

What is discrete signals, Q. What is Discrete signals? Discrete signals...

Q. What is Discrete signals? Discrete signals, on the other hand, exist only at specific instances of time, and as such, their functional description is valid only for discrete

Hybrid parameters, Hybrid parameters (or) h - parameters:- If the ...

Hybrid parameters (or) h - parameters:- If the input current that is denoted as i 1 and output Voltage that is denoted as V 2 are takes as independent variables, input v

Calculate the voltages that will be indicated by instrument, An electromech...

An electromechanical voltmeter with internal resistance of 1 k and an electronic voltmeter with internal resistance of 10 M are used separately to measure the potential differenc

risers, Risers: Riser Design : A riser or a feeder head is a passag...

Risers: Riser Design : A riser or a feeder head is a passage of sand made in the cope to permit the molten metal to rise above the highest point in the casting after the mou

Thevenins theorem, advantages and disadvantages of thevenins theorem

advantages and disadvantages of thevenins theorem

What are flip flop circuits in digital electronics, What are flip flop circ...

What are flip flop circuits in digital electronics? Discuss race around condition in J-K Flip Flop

Explain temperature dependency in semiconductors, Explain temperature depen...

Explain temperature dependence of electrical resistivity and conductivity in semiconductors. The electrical conductivity of the semiconductors changes considerably with temper

Quality control systems, Give three reasons why a chamfer shouldn't be cons...

Give three reasons why a chamfer shouldn't be considered an "unimportant" dimension. When conducting an audit, what is the first step and what is its purpose? Why will calcul

Energy stored in the capacitor when it is fully charged, An 12µF capacitor ...

An 12µF capacitor is connected in series to a 0.5M? resistor across the dc voltage supply of 240V. verify: (a)  Time constant (b)  Initial charging current (c)  Time fo

What is inductor, What is Inductor Inductor, also known as a choke, is ...

What is Inductor Inductor, also known as a choke, is another passive type electrical component designed to take benefit of this relationship by forming a much stronger magnetic

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