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

Pins and signals , Pins  and Signals As  discussed  earlier that  808...

Pins  and Signals As  discussed  earlier that  8085  microprocessor  chip has 40 pins shown  various  pins  and signals of 8085  microprocessor. All  these  signals can be   c

Two stage rc coupled amplifier, Q. Two Stage Rc Coupled Amplifier? ...

Q. Two Stage Rc Coupled Amplifier? It is the most popular type of a multistage amplifier because it is cheap and provides excellent audio fidelity over a wide range of fre

Define hysteresis, Define Hysteresis Hysteresis is the 'lagging' effect...

Define Hysteresis Hysteresis is the 'lagging' effect of flux density B whenever there are changes in the magnetic field strength H. When an initially unmagnetized ferromagnetic

Illustrate the basic use of binary in it, Q. Illustrate the basic use of bi...

Q. Illustrate the basic use of binary in IT ? The binary system is thus useful in IT because not only any number, but any information, can be represented in terms of only 0s an

Molecular chain, Molecular Chain (MIT, Princeton, Colorado) Consider a ...

Molecular Chain (MIT, Princeton, Colorado) Consider a one-dimensional chain consisting of N molecules which exist in two configurations, α, β, with corresponding energies  and

List out the reasons for automation, Describe the term (i) Automation ...

Describe the term (i) Automation (ii) Automated lines 04 List out the reasons for automation and discuss in detail the process of work part transport.

Amplifiers, operation and application of Class AB amplifiers

operation and application of Class AB amplifiers

Ujt as relaxation oscillator, UJT as relaxation oscillator: The UJT re...

UJT as relaxation oscillator: The UJT relaxation oscillator is shown in fig. it consist of a UJT and a capacitor C which is charged through a variable resistance R when VBB is

Evaluate complex power in power system, Q. Evaluate complex power in power ...

Q. Evaluate complex power in power system? The complex power ¯S in a single-phase systemis the complex sum of the real (P) and reactive (Q) power, expressed as follows:

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