Page 1 of 1

Porting x86 asm to ARM questions

PostPosted: Nov 18, 2004 @ 6:00pm
by rapunzel

PostPosted: Nov 19, 2004 @ 8:38am
by refractor

PostPosted: Nov 19, 2004 @ 1:46pm
by xPeterx
What is argIndex supposed to be when calling this function?
Well from what i can see this code will copy a given amount of memory from the stack (depending in the argIndex parameter) and copy it into the dataArgs buffer.
After that it will call the address specified in fn and
save the return values.
Besides that it will also get the first floating point from the FPU stack and save it into floatReturnValue.
I don't think this code will make much sense on ARM though.
(Accessing global static variables is also bad for caching reasons)

PostPosted: Nov 19, 2004 @ 5:24pm
by rapunzel

PostPosted: Nov 23, 2004 @ 1:57pm
by xPeterx

PostPosted: Nov 23, 2004 @ 8:34pm
by refractor