I found also that:
jmp 10598(a3) = jmp 0x2966(a3)
and in the map file, in the .text segment at location 0x2966 I found:
0x00002966                __builtin_new
So it would be ok if a3 = start of program, right? Instead I've got a3 = 
0x30006a50...

The source line is this:

myClassPtr = new MyClass;

And the related assembly code is this:

0x013a363e:  41ed deb0        lea     -8528(a5),a0
0x013a3642:  2448             movea.l a0,a2
0x013a3644:  4878 004c        pea     #76
0x013a3648:  41ed fe5c        lea     -420(a5),a0
0x013a364c:  2650             movea.l (a0),a3
0x013a364e:  4eab 2966        jsr     10598(a3)

It seems that the wrong address is stored at (a0), which is located by the use 
of (a5)..

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

Reply via email to