I'm getting weird crashes when running ARM code.
I'm doing this on Tungsten T3:
- allocate memory (using MemGluePtrNew)
- filling-in single ARM instruction "mov pc, lr"
- calling this code in PalmOS 5

Problem: sometimes everything is ok, func is called and returns. But
sometimes I only get "Fatal Alert - Fatal Exception" window and need reset.
It seems to depend on size of allocated memory block - if I alloc bigger mem
block (e.g. 10KB), there're more chances that func runs.
Can someone help me and tell what's wrong? I though ARM code can be run from
any 4-byte aligned memory.

Thanks,
Michal


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

Reply via email to