ergman
Newbie level 5
- Joined
- Jun 16, 2012
- Messages
- 9
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,341
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...