ergman
Newbie level 5
Hello everyone,
How can I store some data into the on chip ROM of uC AT89s52 using Assembly Language.
PS: I could have done it using the DB directive but in this case i want to copy the contents of a RAM location to the internal ROM. I've tried using the instruction:
MOV DPTR,#2000H
MOVC @DPTR,#data
But the above mentioned instruction is not supported...it gives errors while assembling....
Is there any other way to do it???
Thnx...
How can I store some data into the on chip ROM of uC AT89s52 using Assembly Language.
PS: I could have done it using the DB directive but in this case i want to copy the contents of a RAM location to the internal ROM. I've tried using the instruction:
MOV DPTR,#2000H
MOVC @DPTR,#data
But the above mentioned instruction is not supported...it gives errors while assembling....
Is there any other way to do it???
Thnx...