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

Back to Subject List

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


 
#70809 - RE: How can I do MOVX in C?
Responding to: ???'s previous message
If you are using Keil you can use the predefined absolute access macro XBYTE to generate MOVX instructions. For instance,

unsigned char x;

x=XBYTE[0x200]; //Reads byte at location 0x200
XBYTE[0x300]=x; //Writes x to location 0x300

List of 16 messages in thread
TopicAuthorDate
How can I do MOVX in C?            01/01/70 00:00      
   RE: How can I do MOVX in C?            01/01/70 00:00      
   RE: How can I do MOVX in C?            01/01/70 00:00      
   use pointers            01/01/70 00:00      
      RE: use pointers - VERY CAREFULLY!            01/01/70 00:00      
      RE: use pointers            01/01/70 00:00      
      RE: use pointers            01/01/70 00:00      
         It all depends on the compiler...            01/01/70 00:00      
   RE: How can I do MOVX in C?            01/01/70 00:00      
   RE: How can I do MOVX in C?            01/01/70 00:00      
   What C?            01/01/70 00:00      
   RE: How can I do MOVX in C?            01/01/70 00:00      
   RE: How can I do MOVX in C?            01/01/70 00:00      
   Thanks            01/01/70 00:00      
      RE: Keil            01/01/70 00:00      
   RE: How can I do MOVX in C?            01/01/70 00:00      

Back to Subject List