This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Porting x86 asm to ARM questions


Porting x86 asm to ARM questions

Postby rapunzel » Nov 18, 2004 @ 6:00pm

rapunzel
pm Member
 
Posts: 2
Joined: Nov 18, 2004 @ 5:19pm


Postby refractor » Nov 19, 2004 @ 8:38am

User avatar
refractor
pm Insider
 
Posts: 2304
Joined: Feb 5, 2002 @ 1:12pm
Location: Luxembourg


Postby xPeterx » Nov 19, 2004 @ 1:46pm

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)
xPeterx
pm Member
 
Posts: 144
Joined: Jul 28, 2003 @ 2:50pm
Location: Germany


Postby rapunzel » Nov 19, 2004 @ 5:24pm

rapunzel
pm Member
 
Posts: 2
Joined: Nov 18, 2004 @ 5:19pm


Postby xPeterx » Nov 23, 2004 @ 1:57pm

xPeterx
pm Member
 
Posts: 144
Joined: Jul 28, 2003 @ 2:50pm
Location: Germany


Postby refractor » Nov 23, 2004 @ 8:34pm

User avatar
refractor
pm Insider
 
Posts: 2304
Joined: Feb 5, 2002 @ 1:12pm
Location: Luxembourg


Return to Windows Mobile


Sort


Forum Description

A discussion forum for mobile device developers on the Windows Mobile platform. Any platform specific topics are welcome.

Moderators:

Dan East, sponge, Digby, David Horn, Kevin Gelso, RICoder

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum