Addition of two 16 bit numbers in 8051 microcontroller
Answers
Answered by
1
16-BIT ADDITION
AIM
To perform 16-bit addition of two 16-bit data using immediate addressing and store the result in memory.
THEORY
As there is only one 16-bit Register in 89C51, 16-bit addition is performed by using ADDC instruction twice, i.e. adding LSD first and MSD next.
AIM
To perform 16-bit addition of two 16-bit data using immediate addressing and store the result in memory.
THEORY
As there is only one 16-bit Register in 89C51, 16-bit addition is performed by using ADDC instruction twice, i.e. adding LSD first and MSD next.
Similar questions