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

Advantages of software defined radio, Advantages of SDR 1. Easy to upgr...

Advantages of SDR 1. Easy to upgrade 2. Great flexibility. It can be dynamically updated with new software without any changes in hardware 3. Due to reduced number of har

Explain the architecture of ss7, Q. explain the architecture of SS7 and com...

Q. explain the architecture of SS7 and compare with seven-layer OSI architecture. Ans: A block schematic diagram of CCITT no. 7 signalling system is displayed in figure. Sig

Dc generator, short note on armature reaction

short note on armature reaction

Explain common base configuration, Q. Explain common base configuration? ...

Q. Explain common base configuration? Common-base transistor amplifiers are so-called because the input and output voltage points share the base lead of the transistor in commo

Compute the received carrier frequency, Consider a transmitter S which radi...

Consider a transmitter S which radiates a sinusoidal carrier frequency of 1850 MHz. For a vehicle moving at 26.82 m/s, compute the received carrier frequency if the vehicle is movi

Determine the equivalent inductance, Determine the equivalent inductance: ...

Determine the equivalent inductance: Two coils of inductances 4H and 6H are connected in parallel. If their mutual inductance is 3 H, determine the equivalent inductance of th

Add register and carry with accumulator, Add Register and Carry with Accumu...

Add Register and Carry with Accumulator The contents  of register R and the  carry flag are added to the  contents of the  accumulator  and result of  addition  is also  sto

What do you mean by resistance, Q. What do you mean by Resistance? An i...

Q. What do you mean by Resistance? An ideal resistor is a circuit element with the property that the current through it is linearly proportional to the potential difference acr

Microcontroler based elevator system, -micro controller AT89C51 -dc motor -...

-micro controller AT89C51 -dc motor -magnetic sensors -load sensors -how to connect all the components? and give me a circuit diagrams -how to interface all the component with m

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