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

DECISIEN FEEDBACK, Do you provide me matlab code for comparison the perfor...

Do you provide me matlab code for comparison the performance of decision feedback equalizer over MLSE

Illustrate differential phase-shift keying, Q. Illustrate Differential phas...

Q. Illustrate Differential phase-shift keying? In order to eliminate the need of a local carrier, DPSK has been developed in which the receiver uses the received signal to act

Calculate efficiency to load at unity power factor, Q. A 300-kVA transforme...

Q. A 300-kVA transformer has a core loss of 1.5 kW and a full-load copper loss of 4.5 kW. (a) Calculate its efficiency corresponding to 25, 50, 75, 100, and 125% loads at unity

Analysis of semiconductor devices, Analysis of Semiconductor Devices T...

Analysis of Semiconductor Devices There are two complementary techniques of studying semiconductor devices: Via numerical simulation of the semiconductor equation

Speed control using phase controlled converters , Speed Control Using Phase...

Speed Control Using Phase Controlled Converters Phase controlled  converters converts a constant ac voltage  into  variable  controlled  dc voltage. This  variable  dc voltage

Student, difference between cmp and sub in microprocessor.

difference between cmp and sub in microprocessor.

On line ups systems - power supplies , On line UPS Systems In this Ups ...

On line UPS Systems In this Ups  there are two  switches  one is  main static switch  and another  is Ups  static  switch . in normal  operation the Ups  static switch  remains

Calculate the value of load resistance, A battery having of 5 cells with em...

A battery having of 5 cells with emf and internal resistance of every cell is 1.5V and 0.25Ω connected in series. If the current flow by load resistance is 1.5A, calculate the valu

Increase in ht and lt ratio, Increase in HT and LT Ratio It is well kn...

Increase in HT and LT Ratio It is well known that for high HT/LT ratio, the losses will be low. The losses for a given quantum of power supplied through a line are inversely p

Collector-coupled astable multivibrator, what happens when the resistors ha...

what happens when the resistors have different values

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