Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/15/02 09:03
Read: times


 
#21775 - RE: how to access data directly with ROM
The MOVC instruction reads data from the Code address space - which is where ROMs are usually placed.
However, there is nothing to stop you placing ROM in the Data address space - just so long as you remember not to try to write to it!

You didn't say what language you're using; Keil's 8051-specific extensions in C51 provide keywords for explicitly accessing the different address spaces (CODE, XDATA, etc), locating variables at specific addresses, and macros for directly addressing absolute addresses.

List of 3 messages in thread
TopicAuthorDate
how to access data directly with ROM            01/01/70 00:00      
RE: how to access data directly with ROM            01/01/70 00:00      
RE: how to access data directly with ROM            01/01/70 00:00      

Back to Subject List