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

Find the slip and the rotor frequency at full load, Q. A three-phase, 50-Hz...

Q. A three-phase, 50-Hz induction motor has a full load speed of 700 r/min and a no-load speed of 740 r/min. (a) How many poles does the machine have? (b) Find the slip and t

Vhdl, how to construct universal shift register using D-flipflop and mux??

how to construct universal shift register using D-flipflop and mux??

Parts of triangle, The base of isosceles triangle and the altitude drawn fr...

The base of isosceles triangle and the altitude drawn from one of the congruent sides are equal to 18 cm and 15 cm, respectively. Find the lengths of the sides of the triangle.

What do you mean by time consistent busy hour, Q. What do you mean by Time ...

Q. What do you mean by Time consistent Busy Hour? (i) Busy Hour (ii) Peak Busy Hour (iv) Time consistent Busy Hour  (v) Traffic intensity Ans: (i)  Busy Hour: C

What is the basic working of decoders, Q. What is the basic working of Deco...

Q. What is the basic working of Decoders? An n-bit binary code is capable of encoding up to 2 n distinct elements of information. A decoder is a combinational network that decode

Find the frequency domain characteristics, This question is about linear fi...

This question is about linear filtering concepts using the built in filtering functions (it is not about edge detection methods). Load the MRI image of Q4 above and perform the

Coupling, advantages and disadvantages of direct and r c coupling

advantages and disadvantages of direct and r c coupling

Crystal-controlled oscillator circuits, Circuits, which provide sinusoidal ...

Circuits, which provide sinusoidal waveforms, are but useful in themselves and form the basis of many other circuits, such as square and triangular waveform generators, and clocks.

Unijunction transistor, In use, an appropriate bias voltage is applied betw...

In use, an appropriate bias voltage is applied between the two bases, with B2 made positive with respect to B1. Because the N-type bar is resistive, a relatively small current will

Determine the transformer winding currents, Q. Three single-phase 100-kVA, ...

Q. Three single-phase 100-kVA, 2400:240-V, 60-Hz transformers (each ofwhich has an equivalent series impedance of 0.045+j0.16 referred to its low-voltage side) are connected to fo

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