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

Equivalent circuit of unijunction transistor, Equivalent Circuit : Th...

Equivalent Circuit : The equivalent circuit of a UJT is shown in fig. The P - N junction represented in the emitter by a diode. Silicon bar being lightly doped has a high res

Pinch off voltage, Pinch off Voltage: The current in N-JFET because of...

Pinch off Voltage: The current in N-JFET because of a small voltage V DS  is described by: I DSS = (2a) W/L (qN d μ n V DS ) In which 2a  = channel thickness

Transformers, What is the difference between “Insulating,” “Isolating,” and...

What is the difference between “Insulating,” “Isolating,” and “Shielded Winding” transformers? Can Acme Transformers be reverse connected? . Can Transformers develop Three Phase po

Indicate the condition of the overflow and carry bits, Q. Do the following ...

Q. Do the following operations with 8 bit bytes, and indicate the condition of the overflow and carry bits. a) 10111011 + 00000011 b) 11101101 + 11111001 c) 11011011 + 110

On which hysteresis loss is least depend, Hysteresis loss least depends on ...

Hysteresis loss least depends on (A) Frequency.                         (B) Magnetic field intensity. (C) Volume of the material.     (D)Grain orientation of material.

Nand gate - introduction to microprocessors , NAND Gate NAND   means NO...

NAND Gate NAND   means NOT AND  it complements  the output  of an AND  gate. The symbol  of NAND  by a NOT  gate.  Generally Not  operation  is represented by a bubble as shown

Show block diagram of a 4-bit parallel-input shift register, Q. Show a bloc...

Q. Show a block diagram of a 4-bit, parallel-input shift-right register and brie?y explain its operation.

Logic Gates, A former employs a servant to look after his form house. He in...

A former employs a servant to look after his form house. He instructs the servant to keep a watch on his goat. So that he does not harm the kitchen garden, when the entrance-door

Explain relative data addressing mode, Explain relative data addressing mod...

Explain relative data addressing mode (with examples) available in microprocessors. Relative Mode: Operand supplied is an offset, not the actual address. Added the con

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