Binary to Excess3 code conversionThe excess3 code plays an important role in representing the decimal numbers. The Excess3 code can also be represented as the XS3 code. In Excess3 code, each digit of the decimal number is represented by adding 3 in each decimal digit. There are the following steps to convert the binary number into Excess3 code:
We can also add 0011 in each 4bit BCD code of the decimal number for getting excess3 code. Let's take an example to understand the process of converting a binary number into Excess3 code. Example 1: Convert (11110)_{2} to Excess3 using binary 1. First, convert the given binary number into a decimal number. Binary Number: (11110)_{2} Finding Decimal Equivalent of the number:
Decimal number of the Binary number (11110)_{2} is (30)_{10} 2. Now, we add 3 in each digit of the decimal number. The decimal number is 30. Now, we will add 3 into the decimal number 30. = 30+33 3. Now, we find the binary code of each digit of the decimal number 63. We write the binary code of each decimal digit in order to get Excess3 code as:
Result: (11110)_{2} = (01100011)_{Excess3} Below is the table that contains the excess3 code of the decimal and BCD.
In the above table, the most significant bit of the decimal number is represented by the bit B_{3}, and the least significant bits are represented by B_{2}, B_{1}, and B_{0}. Excess3 to Binary ConversionThe process of converting Excess3 code into binary is opposite to the process of converting Binary code into Excess3. There are the following steps to convert the Excess3 code into binary:
Example 1: (01100011)_{Excess3} 1) Making groups of four bits and write their equivalent decimal number. (01100011)_{Excess3} = (0110 0011)_{Excess3} From the Excess3 table: (0110)_{Excess3} = (3)_{10} (0011)_{Excess3} = (0)_{10} So, the decimal number of excess3 code 01100011 is: (30)_{10} 2) Find the binary number. Now, find the binary number of the decimal number (30)_{10} using a decimal to binary conversion as: Divide the number 30 and its successive quotients with base 2.
(30)_{10}=(11110)_{2} So, the binary number of excess3 code 01100011 is: (11110)_{2}
Next TopicBCD to Excess3 conversion

Kivy
A. Anywhere
Ext.js
UiPath
Arduino
Digital E.
Adwords
MySQL
Python
Smartsheet
Affiliate M.
Testing
Proc*C
SMM