Hi, morning,

I'm trying to call a C function from my assembly function. The code is like
this:

asm void foo()
{
        ...

        jmp     TestC
}

UInt16 TestC(const Char *inText)
{
}

But it can't work. Always jump to some unknow address. I checked disassemble
of my asm function is like this, which looks fine.

        jmp     TestC
0000000C: 4EF9 0000 0000     jmp       TestC__FPCcUlPUs

But when I debug to the jmp TestC in asm foo(), the code is 4E40000018A0
which is a word jump to 18A0! 

Can some one figure out what's going on?

Thanks in advance!

Yan



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

Reply via email to