help in program

Status
Not open for further replies.

bleach

New Member
i was asked to make a program which copy the content of internal RAM address 27h to external RAM address 27h????
this is the question i have made 2 answers which i don't know its correct or not

first;
mov 27h,#50h
mov a,27h
mov dptr,#0027h
movx @dptr,a

second;
mov 27h,#44h
mov a,#27h
movx @r0,a

??? how i define the location of the 27h in external RAM?

REGARD
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…