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

Realize the basic gates with any one universal gate, What is a universal ga...

What is a universal gate? Give examples. Realize the basic gates with any one universal gate. Ans: Universal Gates:   NAND and NOR are termed as Universal gates. The OR, AN

What is a co-processor, What is a co-processor? What is its use in a typica...

What is a co-processor? What is its use in a typical microprocessor based system. 8087 NDP (numerical data processor) is also called math co-processor which is used in parallel

Computer aided manufacture, Before we take a detailed look about software l...

Before we take a detailed look about software languages, let us consider the role of computers in engineering. Computers are commonly used in the areas of 'Computer Aided Design /

Principles of logic circuits, A logic gate is an electronic circuit that ge...

A logic gate is an electronic circuit that generates a typical output signal which depends on its input signal. Output signal of a gate is a general boolean operation of its input

Discuss the advantages of expression tree, Discuss its advantages over the ...

Discuss its advantages over the other evaluation techniques. The expression tree is determined by using a post-order traversal of the expression tree as given here: 1. If such

Three different types of convergences, Three dissimilar types of convergenc...

Three dissimilar types of convergences are: 1.  The convergence of e-commerce and wireless technology  2.  The Convergence of E-Commerce and IP Business-Grade Messaging 3

By which each connected device is assigned a time slot, Using             ...

Using                    each connected device is assigned a time slot whether or not the device has anything to send. (A) WDM                                        (B)  FDM

State about movable joystick, State about movable joystick In another t...

State about movable joystick In another type of movable joystick, the stick is used to activate switches that cause the screen cursor to move at a constant rate in the selected

C++ language, Write a program to find the area under the curve y = f(x) bet...

Write a program to find the area under the curve y = f(x) between x = a and x = b, integrate y = f(x) between the limits of a and b. The area under a curve between two points can b

What is locality of reference, What is locality of reference? Analysis ...

What is locality of reference? Analysis of program represents that many instructions ion localized areas of the program are implemented repeatedly during some time period, and

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