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

Magnetic field, what is the difference between static and induced emf

what is the difference between static and induced emf

Define some huntington postulates - boolean algebra, Define some Huntington...

Define some Huntington postulates - Boolean Algebra? Postulates 1. Commutative Law (a) A + B = B + A (b) A B = B A 2. Distributive Law (a) A (B + C) = A B + A

Classify feedback control systems according to purpose, Q. Classify Feedbac...

Q. Classify Feedback control systems according to purpose of the system? • Position control systems. Here the output position, such as the shaft position on a motor, exactly fo

Compute the worst voltage regulation, Q. The following data were obtained o...

Q. The following data were obtained on a 25- kVA, 2400:240-V, 60-Hz, single-phase distribution transformer: • Open-circuit test with meters on LV side: 240 V, 3.2 A, 165 W •

Which realization requires the least number of gates, Q. Consider a 1-bit v...

Q. Consider a 1-bit version of the digital comparator shown in Figure. Note that the operation of this circuit is such that whichever output is 1 gives the desired magnitude compar

Determine the remaining voltages and currents, Q. Some element voltages and...

Q. Some element voltages and currents are given in the network con?guration of Figure. Determine the remaining voltages and currents. Also calculate the power delivered to each ele

Give a block diagram for amodulo-5 binary ripple counter, Q. Give a block d...

Q. Give a block diagram for amodulo-5 binary ripple counter using JKFFs and draw its timing diagram.

What is the voltage gain of common gate amplifier, Q. What is the voltage g...

Q. What is the voltage gain of common gate amplifier? The controlled source gmVgs is connected from drain to source with rd in parallel.The resistor is connected Rs is connecte

Compute the pull on the plunger, Q. A sectional view of a cylindrical iron-...

Q. A sectional view of a cylindrical iron-clad plunger magnet is shown in figure. The small air gap between the sides of the plunger and the iron shell is uniform and 0.25 mm long.

Gunn diode, write the note on gunn diode and ats applications

write the note on gunn diode and ats applications

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