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

Pop psw instruction , POP PSW Instruction It is similar to  above pop...

POP PSW Instruction It is similar to  above pop  instruction but instead of normal  register  pairs it uses PSW  as its operand. Program status word  comprises of the content

Determine the time delay of the cable, Q. Determine the time delay of the c...

Q. Determine the time delay of the cable? An RG-213/U (radio guide 213/universal coaxial cable) is a small-sized, flexible, double-braided cable with silvered-copper conductors

Determine the initial value and final value of the current, Given the frequ...

Given the frequency-domain response of an RL circuit to be determine the initial value and the final value of the current by using the initial-value and final-value theorem

Prepayment meters, Prepayment Meters Usage of prepayment meters will e...

Prepayment Meters Usage of prepayment meters will extensively improve the revenue collection of the utilities. There are a number of ways in that prepayment assures revenue pr

Transparent latch d flip flop, Transparent latch D flip  Flop A typica...

Transparent latch D flip  Flop A typical  example  of this  type of D flop  is 7475 shown  in figure when CLK  connected is enable signal is high and the flip  flop  is enabled

Energy band diagram, E n e r gy Band Diagram Energy band d...

E n e r gy Band Diagram Energy band diagram in qualitative form is sketched by following the following process: 1. The semiconductor device is supposed to be ma

Mention some characteristics of transistors, Q. Mention some characteristic...

Q. Mention some characteristics of transistors? · When a NPN transistor is working, there is always a constant 0.6 volt drop between the base and emitter, i.e., the base is alw

Uses of zener diode, Uses of Zener Diode Zener diodes are extensively...

Uses of Zener Diode Zener diodes are extensively used as voltage references and like shunt regulators to regulate the voltage across small circuits. While connected in parall

Semiconductor, What is the similarities between a vacuum diode and a triode...

What is the similarities between a vacuum diode and a triode?

Gto - gate turn off, GTO ( Gate Turn Off) GTO stands for gate  turn o...

GTO ( Gate Turn Off) GTO stands for gate  turn off  thyristor . it is four layer  PNPN  device. It can be  triggered into conduction like a conventional thyristor  by a pulse

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