This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

urgent: word operand illegal access error

Hello
I want to know how we define pointer at any explicit location. My structure cointains two int type element.

struct frame
{
unsigned int i;
unsigned int j;
}*ptr;

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.