- Trending Categories
- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP

- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who

# BCD numbers in 8085 Microprocessor

Many a time, we are required to represent decimal numbers in a computer, and perform arithmetic on these numbers. For example, we may be required to total the marks a student has obtained in five different subjects, where obviously, the marks are awarded in decimal notation.

For this purpose, the BCD code is extensively used. In BCD notation, 4 bits are used to code a digit, and so two digits of information are stored in a Byte. For example, decimal 45 is represented in BCD as of 0100 0101. Codes 10 to 15 i.e. 1010, 1011, 1100, 1101, 1110, and 1111 are illegal in BCD notation. Similarly, decimal 2,048 is represented in BCD as 0010 0000 0100 1000. But the same decimal 2,048 is represented in binary as 0000 1000 0000 0000. As stated earlier, the value of a series of 0s and 1s depends on the interpretation.

- Related Questions & Answers
- Program for subtraction of multi-byte BCD numbers in 8085 Microprocessor
- Program to multiply two 2-digit BCD numbers in 8085 Microprocessor
- Program to convert BCD to HEX in 8085 Microprocessor
- Program to convert HEX to BCD in 8085 Microprocessor
- 8085 program to add 2-BCD numbers
- 8085 program to subtract two BCD numbers
- 8085 Program to Add two multi-byte BCD numbers
- 8085 Program to multiply two 2-digit BCD numbers
- 8085 Program for subtraction of multi-Byte BCD numbers
- Program to do an operation on two BCD numbers based on the contents of X in 8085 Microprocessor
- Program to convert a 16-bit binary number to BCD in 8085 Microprocessor
- 8085 program with a subroutine to add ten packed BCD numbers.
- Microprocessor 8085 Architecture
- Program to Add two multi-byte numbers in 8085 Microprocessor
- Program to Add two 8 Bit numbers in 8085 Microprocessor