I crached with some missunderstanding about how multiplication, or divition,
or any stdlib function like that are run in a multi-segment application...
I checked the old palmos archive and found multiple oppionions and a lot of
information useful to me but still have a couple of doubts....
It is mainly about how the code to lmul and ldiv or any thing like does are
referenced by other funciton in other segments... I understand that those
functions are on the runtime lib I included in t he first segment, but how
do i make other funcitons in the rest of the segmentes to performs this
multiplications and division correctlye..
I am asking this becouse I got to the problem that I tried to multiply a
couple of ints ( correctly casted ) and everything crashes in a stange
way... finally I ended up moving all the functions that ultiply to the first
segment and it works, but I really would like to undesrtand a bit more how
to workaround this issue.
I mean, is tbere a way I can make simple arithmetic multiplication from any
function in any segment, shoud I have any regards when doing it....
any help or explanataion would be more than awesome!
thanks in advance.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/