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

Modern physics, jsidjsiod dkndkdisd dknssbs bsjbabd asj u dhihf ujojdsajfs...

jsidjsiod dkndkdisd dknssbs bsjbabd asj u dhihf ujojdsajfs sjssaidhsidw idgsdusadidjwap ewkeowr krwnrh bwvr [ wrj wrj 1 nnwoi khiwrjw ko e woewerijr rjwr jr rjhpr

Simulate a diode application circuit using multisim ewb, a. Simulate a diod...

a. Simulate a diode application circuit using Multisim EWB.  Compare calculated and simulated results Each student must choose one of the following circuits from question 1 (Ref

Global positioning system, Global Positioning System: For power utilit...

Global Positioning System: For power utilities, the basic objective of using Global Positioning System (GPS) and GIS should be to: enhance the efficiency of transmissio

Storage delay and transistor alpha- beta, Turn-on, turn-off, and storage de...

Turn-on, turn-off, and storage delay: The Bipolar transistor shows a few delay characteristics while turning on and off. Most of the transistors, and particularly power transi

Transformers, A 15kVA has a turns ratio 1:10. If the voltage applied is 13....

A 15kVA has a turns ratio 1:10. If the voltage applied is 13.8kV and the applied load is 20+j6. Find the current in the secondary winding and the active and reactive power consumed

Why earthing is required for any electrical equipments, Why earthing is req...

Why earthing is required for any electrical equipments, domestic installation and service building etc? For TL coaches what is the minimum I.R. value needed for new wiring? An

1- phase full bridge inverter with r- load , 1- phase  Full Bridge Invert...

1- phase  Full Bridge Inverter with R- Load 1-phase full  bridge inverter with resistive load R i it has  advantage over 1-? half  bridge  inverter that it does  not require

What is the physical length of this cable, Q. It is desired to cut a λ/4 le...

Q. It is desired to cut a λ/4 length of RG58A/U cable (ε r = 2.3) at 150MHz.What is the physical length of this cable?

Explain the working principle of an opto coupler, Q. Explain the working pr...

Q. Explain the working principle of an opto coupler? When it is necessary to block the voltage between one electronic circuit and another, and transfer the signal at the same t

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