Embedded Programs

Friday, 16 September 2016

Program to perform 16 bit BCD addition in 8051

MOV DPTR,#2080H
MOV A,#20H
MOV B ,#10H
ADDC A,DPL
DA A  
MOV A,B
DA A
ADDC A,DPH
MOV B,A
DA A
MOV A,DPL
END
Posted by Unknown at 23:22
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

About Me

Unknown
View my complete profile

Blog Archive

  • ▼  2016 (15)
    • ►  October (4)
    • ▼  September (11)
      • Program to display the message in 8051
      • Program to perform factorial of a number (8051)
      • Program to perform 16 bit BCD addition in 8051
      • Program to transfer n numbers from port 1 to port ...
      • Program for block transfer from one address to oth...
      • Program to find the sum of 10 numbers stored in th...
      • How to sort n numbers(Bubble sort ) in 8051
      • How to write a Program to perform Fibonacci series...
      • Program to perform maximum of two numbers (8051)
      • How to write a Program to swap two variables in 80...
      • How to Write a Program to perform 8-bit addition,...
Simple theme. Powered by Blogger.