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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/25/03 00:25
Read: times


 
#37225 - RE: DATA to XDATA problem
If I've well understood, I've to declare the array, to allocate the space and to initilize.

Correct me if I'm wrong :

1.
U8 u8Array[10]=0;
the array is declared and allocated and all the values are set to 0.

2.
U8 *u8Array=0; What will be set to 0 ???

3. the Keil example :
unsigned char xdata foo;
unsigned char xdata *foo_ptr = &foo;

The array foo_ptr is declared and initialized with the value contained in foo.

Stephane


List of 12 messages in thread
TopicAuthorDate
DATA to XDATA problem            01/01/70 00:00      
RE: DATA to XDATA problem            01/01/70 00:00      
RE: DATA to XDATA problem            01/01/70 00:00      
RE: DATA to XDATA problem            01/01/70 00:00      
RE: DATA to XDATA problem            01/01/70 00:00      
RE: DATA to XDATA problem            01/01/70 00:00      
RE: DATA to XDATA problem            01/01/70 00:00      
RE: DATA to XDATA problem            01/01/70 00:00      
RE: DATA to XDATA problem            01/01/70 00:00      
RE: DATA to XDATA problem            01/01/70 00:00      
RE: DATA to XDATA problem            01/01/70 00:00      
RE: DATA to XDATA problem            01/01/70 00:00      

Back to Subject List