You can't. The MOVC is a one-way instruction. It can only READ from the Program Memory Space. The "Chip Select" for the Program Memory Space is called PSEN* (Program Store Enable - Active Low). In the datasheet you might see it with an overbar, using a star after the name means the same thing. The RD* and WR* signals from the 8051 refer to External DATA Memory Only.How can I set to zero the external rom memory? I know about MOVC instructions but in which way shall I use them here?
Thanks in advance
Have you read the 8051 datasheet--How can I set to zero the external rom memory? I know about MOVC instructions but in which way shall I use them here?
Thanks in advance
This reminds me of a cliché I once heard about a 'Write Only Memory'!You are aware that ROM is an acronym for READ ONLY MEMORY. What part of read only makes you think that you can write a value to it?
I heard that one also -- it's called a printer! (rim-shot...)This reminds me of a cliché I once heard about a 'Write Only Memory'!
by Duane Benson
by Aaron Carman
by Jake Hertz