A presentation on the topic of BCD arithmetic and 16-bit data operations of the subject Microprocessor and interfacing MI/MPI, useful especially for GTU students.
1. BCD ARITHMETIC AND 16-BIT DATA
OPERATIONS
DHANANJAYSINH JHALA
170410107027
TY CE-1, BATCH B
MICROPROCESSOR AND INTERFACING ALA
2. BCD ADDITION
The addition of two BCD numbers in 8085 may not represent an
appropriate BCD value.
This is because the microprocessor cannot recognize BCD
numbers.
In BCD addition, any number larger than 9 is invalid and we need
to adjust that by adding 6 in binary.
A special instruction called decimal adjust accumulator(DAA)
performs the function of adjusting a BCD sum.