Porting assembly code in to Mobile based application

Reply

Join Date: Jan 2008
Posts: 6
Reputation: vikasmailsu is an unknown quantity at this point 
Solved Threads: 0
vikasmailsu vikasmailsu is offline Offline
Newbie Poster

Porting assembly code in to Mobile based application

 
0
  #1
Jan 30th, 2009
Dear Experts,
I am willing to port my window based appliaction in to Mobile based application. I am using few asm files based on x86 instruction set. I would like to use the same asm files in to Mobile based appliaction in Visual Studio 2005 environment. As far as I concern under Visual studio 2005 mobile based application uses ARM compiler where in window based it was MASM. So I am facing a lot of problem in porting such code in to Mobile based application. If any body work on the same issue earlier and can somehow help me in sorting the above problem ,then I am really thankful .


Thanks & Regards
Vikas
Reply With Quote Quick reply to this message  
Join Date: Dec 2005
Posts: 5,850
Reputation: Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute 
Solved Threads: 749
Team Colleague
Salem's Avatar
Salem Salem is offline Offline
Void main'ers are DOOMed

Re: Porting assembly code in to Mobile based application

 
0
  #2
Feb 1st, 2009
> I am using few asm files based on x86 instruction set.
Why?

If you did this for "performance reasons" on a PC, what makes you think the app will even run on a mobile platform, which is usually well behind the curve in terms of current processor performance.

Rewrite the functionality in the appropriate high level language for starters.
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 15,378
Reputation: Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute 
Solved Threads: 1466
Team Colleague
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Still Learning

Re: Porting assembly code in to Mobile based application

 
0
  #3
Feb 1st, 2009
your compiler supports several different processor types, depending on which hardware manufactures SDK you install. You will have to port that assembly code to each of those processors that you want to support. Salem's suggestion is best -- port the assembly code to C or C++ and you won't have that problem anymore.

On another note -- there are a lot of win32 api functions that work on PC that are not available on wireless hardware which run WinCE or Mobile 5.0. Depending on what your program does porting difficulty may range from easy to impossible.
Last edited by Ancient Dragon; Feb 1st, 2009 at 1:48 pm.
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the Assembly Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC