Академический Документы
Профессиональный Документы
Культура Документы
MENU
1′s Complement
« Previous Next »
We are now familiar with the basics of various number systems used in digital electronics. Now let us quickly look through the main number
system which is binary number system. In binary number system 0 & 1 can represent all the numbers. Before discussing about 1's complement
let us first look at some different things. Let us look through the numbers from 0 to 7
Now we have given this as an example to illustrate the representation of binary numbers. This is done to represent the positive numbers. But what
if we want to represent the negative numbers in binary number system.
The concept of negative sign is not there in binary number system. Although there have been disputes about representing negative numbers in
binary number system. And for it various methods have been developed. The most popular of them all are 1's complement and 2's complement.
Though 2's complement dominates the 1's complement in popularity but this is also used because of somewhat simpler design in hardware due to
simpler concept. Now we will look at the method of 1's complement.
http://www.electrical4u.com/1scomplement/ 1/7
11/26/2016 1′s Complement | Electrical4u
Number Representation
1's complement is a very easy method for representing negative numbers in binary number system. To represent any number which is negative
first we have to consider the binary value of its positive magnitude in binary system, then we have to simply convert the 1’s with 0 and the 0s with
1 and we will get the 1's complement of that number which is also the negative value of that number. As we can see that this method is truly a
method of complementing. We will have a clear idea if we look at some examples.
Example
First let us consider the positive numbers from 0 7
Now the 1's complement of these numbers will be like as follows
http://www.electrical4u.com/1scomplement/ 2/7
11/26/2016 1′s Complement | Electrical4u
Subtraction using 1's complement
The method of binary subtraction becomes very easy with the help of 1's complement. Now let us look at an example to understand subtraction
using 1's complement.
Suppose A = (5)10 = (0 1 0 1)2
And B = (3)10 = (0 0 1 1)2
And we want to find out A B
For this first we have to calculate 1's complement of B
1's complement of B = 1 1 0 0
Now we have to add the result with A
Now in the result we can see that there is an overflowing bit which we have to add with the remaining result
This is the desired result.
And when there will not be any overflowing digit the result obtained in the previous stage will be the answer.
« Previous Next »
Closely Related Articles
Binary Number System | Binary to Decimal and Decimal to Binary Conversion
Binary to Decimal and Decimal to Binary Conversion
BCD or Binary Coded Decimal | BCD Conversion Addition Subtraction
Binary to Octal and Octal to Binary Conversion
Octal to Decimal and Decimal to Octal Conversion
Binary to Hexadecimal and Hex to Binary Conversion
Hexadecimal to Decimal and Decimal to Hexadecimal Conversion
http://www.electrical4u.com/1scomplement/ 3/7
11/26/2016 1′s Complement | Electrical4u
Gray Code | Binary to Gray Code and that to Binary Conversion
Octal Number System
Digital Logic Gates
2′s Complement
ASCII Code
Hamming Code
2s Complement Arithmetic
Error Detection and Correction Codes
9s complement and 10s complement | Subtraction
Some Common Applications of Logic Gates
Keyboard Encoder
Alphanumeric codes | ASCII code | EBCDIC code | UNICODE
More Related Articles
Digital Electronics
Boolean Algebra Theorems and Laws of Boolean Algebra
Switching Algebra or Boolean Algebra
De Morgan Theorem and Demorgans Laws
Truth Tables for Digital Logic
Binary Arithmetic
Binary Addition
Binary Subtraction
Binary Multiplication
Simplifying Boolean Expression using K Map
Binary Division
Excess 3 Code Addition and Subtraction
K Map or Karnaugh Map
Binary Adder Half and Full Adder
Binary Substractor
Seven Segment Display
Binary to Gray Code Converter and Grey to Binary Code Converter
Binary to BCD Code Converter
BCD to Seven Segment Decoder
Digital Encoder or Binary Encoder
Binary Decoder
Basic Digital Counter
Digital Comparator
OR Operation | Logical OR Operation
AND Operation | Logical AND Operation
Logical OR Gate
Logical AND Gate
NOT Gate
Universal Gate | NAND and NOR Gate as Universal Gate
http://www.electrical4u.com/1scomplement/ 4/7
11/26/2016 1′s Complement | Electrical4u
NAND Gate
Diode and Transistor NAND Gate or DTL NAND Gate and NAND Gate ICs
X OR Gate and X NOR Gate
Transistor Transistor Logic or TTL
NOR Gate
Fan out of Logic Gates
INHIBIT Gate
NMOS Logic and PMOS Logic
Schmitt Gates
Logic Families Significance and Types of Logic Families
Latches and Flip Flops
S R Flip Flop S R Latch
Active Low S R Latch and Flip Flop
Gated S R Latches or Clocked S R Flip Flops
D Flip Flop or D Latch
J K Flip Flop
Master Slave Flip Flop
Read Only Memory
Programmable Logic Devices
Programmable Array Logic
Application of Flip Flops
Shift Registers
Buffer Register and Controlled Buffer Register
Data Transfer in Shift Registers
Serial In Serial Out (SISO) Shift Register
Serial in Parallel Out (SIPO) Shift Register
Parallel in Serial Out (PISO) Shift Register
Parallel in Parallel Out (PIPO) Shift Register
Universal Shift Registers
Bidirectional Shift Register
Dynamic Shift Register
Conversion of Flip Flops
New Articles
Parallel Operation of Alternator
Application of Power Electronics
Advantages and Disadvantages of Power Electronic Converters
Xenon Arc Lamp
Concept of Power Electronics
Sinusoidal Wave Signal
Please provide your valuable comments
Name :
Enter your name here
http://www.electrical4u.com/1scomplement/ 5/7
11/26/2016 1′s Complement | Electrical4u
Email :
Enter your email here
Location :
Enter your location here
Your content :
Enter your content here
Enter the above code here
Regenerate Code
Submit
Reset
© 20112016 electrical4u.The content is copyrighted to electrical4u and may not be reproduced on other websites.
http://www.electrical4u.com/1scomplement/ 6/7
11/26/2016 1′s Complement | Electrical4u
http://www.electrical4u.com/1scomplement/ 7/7