AnsweredAssumed Answered

direct C coded addressing

Question asked by gunnros on Jul 9, 2010
Latest reply on Jul 10, 2010 by vishwanath

Hello ADI people and friends,

 

I 'm making an addressing to the external space of my proccessor so as to make available data to the EMAFE expansion conn of my board. In assembly it is

 

R0 = data;

dm(0x01000001) = R0;

 

How can i write this piece equivalently ic C code. When i use this

ptr = address;

*ptr = data;

although it produces no errors, I get a warning for incompatibillity. Is there a more proper way for that?

 

Thanks

 

Michael

Outcomes