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....
The feature you are asking for is depending on the hardware capability to write to the flash memory during program execution (so called self-write). It's not available for AT89S52 family.
The feature you are asking for is depending on the hardware capability to write to the flash memory during program execution (so called self-write). It's not available for AT89S52 family.