I want to know how we define pointer at any explicit location. My structure cointains two int type element.
unsigned int i;
unsigned int j;
When i define a pointer to this structure then it points to odd address, when i use this pointer in programm it gives folowing traps.
'Word operand illegal access'
Is there is any method in c166 by which this pointer points to an even address to prevent this problem.
Reply me soon.
Sorry, but your message is quite confusing (I guess written under hurry). C166 defines int members on even addresses, so you must have done something special.
Reading the manual should help:
View all questions in Keil forum