> The following command, lets rise an fatal exception.
>
>     0124491A:         4E5E            unlk     a6

This instruction pops a value from the stack and stores it in the A6
register, which is the stack frame pointer. My guess is that your
application trashes the stack, so that the restored A6 value is invalid.

This typically occurs when writing to a locally allocated array using an out
of bound index. For example :

void foo()
{
  int k[12];

  k[17]=0;
}

Pascal



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to