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

Analog Fundamentals, Module 1 Discussion: Application of operational Amplif...

Module 1 Discussion: Application of operational Amplifier

Battery service provider system specification, The vehicle batteries shall ...

The vehicle batteries shall be owned by the battery service provider. The automobile battery shall be recyclable, environmentally friendly, and safe. The battery service pr

Forward and reverse-active in bipolar junction transistor, Forward and Reve...

Forward and Reverse-active in Bipolar Junction Transistor: Forward-active (or simply, active): The base-collector junction is reverse biased and base-emitter junction is

Explain about half duplex transmission, Q. Explain about Half Duplex Transm...

Q. Explain about Half Duplex Transmission? Half Duplex Transmission A half-duplex channel can receive andsend, though not at the same instance. It's like a one-lane bridge w

Calculate the new rotor current frequency, Induction motors are often brake...

Induction motors are often braked rapidly by a technique known as plugging, which is the reversal of the phase sequence of the voltage supplying the motor. Assume that a motor with

Components of plc - stepper motor , Components of PLC There are follow...

Components of PLC There are followings  three main  components of PLC : a.The power supply and rack. b.The central  processing  unit ( CPU) c.The input / output  (I/O

Factors that influence choice of carrier frequency, 1. Why must a modem be ...

1. Why must a modem be used to transmit binary data through a PSTN? (1) Use sketches and additional text to describe the following modulation methods. (a) Amplitude shift key

Auxiliary carry fla - registers, Auxiliary Carry Fla - Registers If ca...

Auxiliary Carry Fla - Registers If carry  is generated  from D 3   to D 4 in the accumulator after any arithmetical or logical  operations. Auxiliary  carry flag (AC) is set

State the nyquist sampling theorem, (a) Which one of the four digital-to-a...

(a) Which one of the four digital-to-analog conversion techniques (ASK, FSK, PSK or QAM) is most susceptible to noise? Explain your answer. (b) Given the bit pattern 01001110,

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