Juan Ilari <[EMAIL PROTECTED]> wrote:

> If the addresses of the API calls are not fixed, how can assemblers and
> compilers be built ?

PalmOS system calls aren't actually calls, they are traps. C compilers for
PalmOS don't emit any call instructions for them, absolute or relative, instead
each PalmOS system call/trap is the following instruction sequence:

        trap    #15
        dc.w    trapnum

where trapnum is the 16-bit trap number (the thing that starts with sysTrap).

--
Michael Sokolov                         2695 VILLA CREEK DR STE 240
Software Engineer                       DALLAS TX 75234-7329 USA
JP Systems, Inc.                        Phone: +1-972-484-5432 x247
                                            or +1-888-665-2460 x247
E-mail: [EMAIL PROTECTED]    Fax:   +1-972-484-4154

---
You are currently subscribed to palm-dev-forum as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
For more information on the Palm Developer Forum's, see 
<http://www.palm.com/devzone/mailinglists.html>

Reply via email to