Write a program to add two 8 bit number and store the result at external memory location 2050H.
                 ORG 0000H
                 MOV A, #05H
                 MOV R, #09H
                ADD A, R1
                MOV DPTR, #2050H
                MOV @ DPTR, A
AGAIN: SJMP AGAIN
INPUT:
A=05H
R1=09H
OUTPUT:
2050 = 0EH..
 
It should be MOVX @DPTR, A
ReplyDeleteYes
ReplyDeleteWhat is the program model of 8051??
ReplyDeleteYaha toh pawrri ho rahi he
ReplyDeleteKiya socha that or kiya Nikola🙂 scam ho gya
ReplyDeleteNice blog, I will keep visiting this blog very often. NCLEX Tutor
ReplyDelete