Lab Manual of Microcontroller & Interfacing Page 16
B. Write assembly language program to add 4 digit BCD numbers. First 4 digit number
stored at 40h-41h (LSB at 41h), second 4 digit number stored at location 42h-43h
(LSB at 43h). Store result in DPTR and carry flag.
Memory
Location
HEX
code
Label Opcode Operands Comments
Comments to this Manuals