Open In App

Excess-3 Code

Excess-3 is a binary coded decimal (BCD) code with unquestionable significance, seen for its work in enhancing number shuffling tasks in early enlisting structures and smaller-than-expected PCs. It offers an intriguing depiction for each decimal digit by adding a legitimate worth of 3 to the standard 4-cycle matched depiction. In a paired environment, the goal of this distinctive coding strategy was to smooth out math processes.

What is Excess-3 Code?

The Excess-3 code, also known as the Stibitz code, it is a binary coded decimal (BCD) code that is utilized to address decimal digits that are arranged in a particular double structure. In this coding plan, each decimal digit is tended to by its relating 4-bit double portrayal with the extension of 3. The essential job of Excess-3 code is to enhance math undertakings in a twofold environment, especially in early figuring systems and smaller than normal PCs.



Representation of Excess-3 Code

The Excess-3 code for the decimal number is as follows:

DECIMAL DIGIT

BCD CODE

EXCESS-3 CODE

0

0000

0011

1

0001

0100

2

0010

0101

3

0011

0110

4

0100

0111

5

0101

1000

6

0110

1001

7

0111

1010

8

1000

1011

9

1001

1100

In excess-3 code, the codes 1111 and 0000 are never used for any decimal digit. Now let’s take few examples of Excess-3 code.

Solved Examples of Excess 3 Code

We have some examples to understand the concept better :

Example – 1 : Decimal number of 9

Binary Representation of 9 is 1001

Now Add 3 to Each Bit: 1001 + 0011 = 1100

Therefore, 1100 is the Excess – 3 code for the decimal number 9

Example – 2 : Decimal number of 15

Add 3 to 1 and 5 both separately after converting them into binary(4 bit).

So, 1 = (0001)2 and 5 = (0101)2

Now add 3 to both the digit, 1+3 = 4 = (0100)2 and 5+3 = 8 = (1000)2

Therefore, 0100 1000 is the Excess – 3 code for the decimal number 15

Example – 3 : Decimal number of 6

Binary Representation of 6 is 0110

Now Add 3 to each Bit: 0110 + 0011 = 1101

Therefore, 1101 is the Excess – 3 code for the decimal number 6

Why we use Excess-3 ?

There are the following advantages of excess-3 code which make it required to use:

Converting into Binary Coded Decimal (BCD) codes 

Converting Excess 3 code 1010101 into BCD number.

STEP 1 – Group the number in 4-bit format.

1010101 = 0101 0101

STEP 2 – Subtract the formed number with 0011 0011

0101 0101 – 0011 0011 = 0010 0010

So, the BCD number will be 0010 0010.

Self-Complementary Property

Excess 3 code having the property of self complementary which means they are always complements themselves. If we have 0 then it will complement with 1, or if it will have 1 then it will complements with 1.

Additionally, the XS-3 code is regarded as the Excess-3 code. To address decimal numbers, the excess-3 code is a self-correlative, non-weighted BCD code. The portrayal of this code is biased. This code expects a huge part in calculating undertakings since it settle needs experienced when we use the 8421 BCD code for adding two decimal digits whose total is more unmistakable than 9. As opposed to the typical non-one-sided BCD or the twofold positional number framework, the Overabundance 3 code utilizes an exceptional sort of calculation.

Example

Excess 3 code for 5 = 1000

1’s complement of 1000 = 0111

And 0111 is the excess 3 code for 4

Advantages of Excess-3 Code

Disadvantages of Excess-3 Code

Applications of Excess-3 Code

Differences Between BCD, Gray Code and Excess-3 Code

FEATURE

BCD(Binary Coded Decimal)

Gray Code

Excess-3

Decimal Range

It represents decimal digits from 0 to 9

It represents decimal digits from 0 to 9

It represents decimal digits from -3 to 6

Arithmetic Operation

It is well- suited for arithmetic operation

It is Not well- suited for arithmetic operation

It is well- suited for arithmetic operation

Code Efficiency

Less efficient

More efficient

Less efficient

Bit Changes

Multiple bits change

Only one bit changes

Multiple bits changes

Error Detection

BCD provides good error detection

It provides good error detection due to single bit changes

It provides good error detection

Binary to Decimal Conversion

Straightforward conversion from 4 bit to decimal

More complex conversion due to non linear nature

Subtracting 3 from each 4 bit binary representation

Applications

Commonly used in displays and calculators

it is used in rotary encoders

it is used in BCD adders

Conclusion

In conclusion, the Excess-3 (XS-3) code has had a significant impact on processing throughout its entire history due to its remarkable representation of decimal digits in paired structure. Made to chip away at number shuffling errands in a parallel coded decimal (BCD) environment, Excess-3 found all over use in early electronic smaller than usual PCs and computers. Its specific part of adding 3 to the 4-cycle matched depiction of each and every decimal digit streamlined the course of choice and allowance, enhancing convey multiplication in electronic circuits.

Excess 3 Code – FAQs

Q1. Why is 3 added to each bit in Excess-3 code?

The intentional expansion of 3 to each piece in Excess-3 fulfills a particular requirement. It ensures that the resulting matched coded decimal (BCD) depiction is something like 3 more unmistakable than the twofold depiction of the main decimal digit. This offset enhances math assignments, especially extension and derivation, by supporting the spread of conveys.

Q2. In what ways does Excess-3 make it easier to find errors in arithmetic operations?

Excess-3 works with botch acknowledgment by giving an original twofold depiction to each decimal digit. Deviations from the typical Excess-3 codes during math exercises can be normal for botches. This property further develops the error acknowledgment limits in applications where data trustworthiness is essential.

Q3. Could Excess-3 be utilized for non-decimal bases?

No, Excess-3 was made to work with decimal digits. Its properties, including the extension of 3 to each piece, are custom fitted to decimal number shuffling. While including an offset for working undertakings can be summarized, Excess 3 as a coding plan isn’t sensible for bases other than 10. Other coding plans are more appropriate for tending to non-decimal numbers in twofold construction.

Q4. Is Excess-3 still used in modern computing systems?

No, Excess-3 isn’t conventionally used in present day handling structures. While it had unquestionable significance and was by and large used in early electronic small PCs and laptops, more useful and adaptable coding plans have been made for contemporary applications. Current systems routinely use elective coding plans that better fulfill the computational requirements of the current advancement.


Article Tags :