Basic Binary Arithmetic


Binary Arithmetic

Basic arithmetic of logical expression is a key part of digital electronics. Arithmetic of digital electronic includes mostly what we always use in general mathematical operations like Addition, subtraction etc. However, there are some operations that not available in conventional mathematics. Digital electronics uses Boolean Algebra for all its mathematical operations. Also, the way how numbers are written and manipulated is different. For example, digital electronics has no negative sign and no negative numbers but it can handle and work with negative numbers. Basic binary arithmetic included addition, subtraction and complements.

Like any other engineering discipline, digital electronics also requires mathematics to manipulate numbers to design small but efficient systems and predict the operations of the system in future. In digital electronics, we use binary and hexadecimal number system. Most of the mathematics in digital electronics is executed using binary number system and this poses a problem. Conventional mathematical and arithmetic are designed to suit decimal number system. To solve this problem, digital electronics use a mathematical discipline that was invented long before modern era but is perfect for digital electronics. It is known as Boolean Algebra. We are going to use Boolean algebra to perform simple arithmetic like addition and counting in binary number system. But before that we are going to get familiar with important aspect of binary number manipulation called “Addition”, “Complement” and “Subtraction”.

Addition, Complement & Subtraction

Boolean algebra can seem weird at first. For example, 10 + 11 = 101. Common people would call you crazy if you tell them that that adding 10 and 11 makes 101. In decimal number system 10+11=21. But we are using binary number system. You will soon see how in binary 10 +11 makes 101. (By the way, 10 is pronounced “One Zero” & not ten. Likewise 11 is pronounced “One One” and not eleven. Binary addition is the operation of adding multiple binary numbers together. Subtraction or in this case, Binary subtraction, is the operation of subtracting one number from another. Binary complement is a new mathematical operator that is exclusive to digital electronics only and is explained in the 2nd diagram below. We will not be driving deep into theory in this blog series. Therefore, the concepts of binary arithmetic are described in form of diagram. Explanation of the basic binary arithmetic are shown as diagram below.

Binary / Boolean addition
Binary Complements
Binary/Boolean subtraction

Visit us on Facebook. Keep yourself updated on our latest blog posts.

Leave a Reply

Your email address will not be published. Required fields are marked *

Solve : *
22 − 15 =