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

Transfer characteristics of jfets, Q. Give the Shockley's equation for the ...

Q. Give the Shockley's equation for the transfer characteristics of JFET's? Where ID is the drain current and VGS is the voltage across gate and source. The squared term o

Pass band of the resulting bandpass filter, A bandpass filter design can be...

A bandpass filter design can be accomplished through the cascade connection shown in Figure, where the frequencies between the two cutoffs fall in the passband of both filters and

Loss reduction and efficiency of electrical energy, Loss Reduction and Effi...

Loss Reduction and Efficiency Improvement of Electrical Energy 1. There are inherent losses in Transmission and Distribution of electrical energy from Generating station

What do you mean by induction, Q. What do you mean by Induction? The es...

Q. What do you mean by Induction? The essentials for producing an emf bymagneticmeans are electric andmagnetic circuits,mutually interlinked. Figure (a) shows a load (or sink o

Induced emf, what is the difference between statically and dynamically indu...

what is the difference between statically and dynamically induced emf?

Motor., if load is removed so which motor will run fast? series or shunt?

if load is removed so which motor will run fast? series or shunt?

Magnetic permeability and the b/h curve, Magnetic permeability and the B/H ...

Magnetic permeability and the B/H curve To measure the relationship between field strength H and flux density B for a material, a sample is made into a closed ring and a magne

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