Signed 1’s complement representation, Computer Engineering

Assignment Help:

Q. Signed 1s complement representation?

Another possibility that is also simple is use of signed 1's complement. Signed 1's complement has a principal. Add both numbers including sign bit. If carry of most significant bit or sign bit is one then increment result by 1 and discard carry over. Let's repeat all operations with 1's complement.

Another interesting characteristic about these representations is representation of 0. In 1's complement and signed magnitude there are two representations for zero as:

Representation                                            + 0                                            -0  

Signed magnitude                         0       000 0000   1                             000 0000  

Signed 1's complement                0       000 0000   1                             111 1111 

However in signed 2's complement there is only one zero and there is no negative or positive zero.

2089_Signed 1s complement representation.png

So -0 in 2's complement notation is similar like +0 and is equivalent to 0 000 0000. So both +0 and -0 are similar in 2's complement notation. This is an extra benefit in favour of 2's complement notation.

Highest number which can be accommodated in a register also relies on type of representation. In general in an 8 bit register 1 bit is used as sign so rest 7 bits can be used for representing value. The highest and lowest numbers which can be represented are:

For signed magnitude representation   (27 - 1) to - (27 - 1)  

  = (128-1) to   - (128- 1)  

  = 127 to -127  

For signed 1's complement     127 to -127

Although for signed 2's complement we may represent +127 to -128. The - 128 is signified in signed 2's complement notation as 10000000.


Related Discussions:- Signed 1’s complement representation

Illustration of code conversion, Program: A good illustration of code conve...

Program: A good illustration of code conversion: Write a program to convert a; 4-digit BCD number into its binary equivalent. BCD number is stored as a; word in memory location kno

Hypertext markup language, Web pages or materials which are in the form of ...

Web pages or materials which are in the form of hypermedia documents accessed through Internet can be located anywhere in world. No matter from where they originated, most Web d

What is slack, What is slack? 'Slack' is the amount of time you have wh...

What is slack? 'Slack' is the amount of time you have which is measured through while an event ‘really happens' and while it ‘should happen’. The term ‘really happens' can a

Granularity-concept of parallel execution and concurrent , Granularity ...

Granularity Granularity refers to the quantity of computation done in parallel relative to the dimension of the entire program. In parallel computing, granularity is a qualitat

What do you mean by underflow and overflow of data, What do you mean by und...

What do you mean by underflow and overflow of data? Underflow and overflow of data: When the value of the variable is either too long or too small for the data type to hold,

Binary floating-point number range, Q. Binary floating-point number range? ...

Q. Binary floating-point number range? Smallest Negative number   Maximum mantissa and maximum exponent     =    - (1 -2 -24 ) × 2 127   Largest negative number

How to input to circuit, Q. How to input to circuit? Register A bit...

Q. How to input to circuit? Register A bits as a0, a1, a2 and a3 in the corresponding X bits of the Full Adder (FA). Register B bits as given in the Figure above as in

Collective communications - broadcast, Q. Collective Communications - Broad...

Q. Collective Communications - Broadcast? Broadcast: Broadcasting can be done in two ways one of them is one to all and another one is all to all. In the matter of one to all b

Differences between asp and asp .net, What are the differences between ASP ...

What are the differences between ASP and ASP .Net ?    1. ASP: Code is Interpreted ASP.NET: Code is Compiled 2. ASP: Business Logic and Presentation Logic are in a one

Pipeline architecture, Explain detailed classification of pipelined process...

Explain detailed classification of pipelined processor.

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