flat assembler
Message board for the users of flat assembler.

Index > Non-x86 architectures > Windows CE Assembly

Author
Thread Post new topic Reply to topic
Christopher D



Joined: 25 Jun 2005
Posts: 17
Christopher D
[ Post removed by author. ]


Last edited by Christopher D on 23 Oct 2011, 16:55; edited 1 time in total
Post 26 Sep 2005, 21:05
View user's profile Send private message Reply with quote
shism2



Joined: 14 Sep 2005
Posts: 248
shism2
sigh Sad.... 1 years worth jeez. You should keep backups Smile
Post 26 Sep 2005, 21:12
View user's profile Send private message Reply with quote
ronware



Joined: 08 Jan 2004
Posts: 179
Location: Israel
ronware
Well, the PocketPC is not an x86 device - so that is the problem. FASM doesn't generate ARM code ...
Post 26 Sep 2005, 22:35
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17344
Location: In your JS exploiting you and your system
revolution
Different pocket devices have different processors. SHARC, ARM and others. You need to make many versions of your software to allow it to run on many pocket platforms.

Quote:
FASM doesn't generate ARM code ...
Funny you should mention that, I have almost completed my ARM code module for FASM. When I get it working nicely I'll post it on this board somewhere.
Post 27 Sep 2005, 00:49
View user's profile Send private message Visit poster's website Reply with quote
ronware



Joined: 08 Jan 2004
Posts: 179
Location: Israel
ronware
Oh, I'll definitely be interested! I would like to make Reva (my Forth code) run on an ARM-based PocketPC...
Post 27 Sep 2005, 01:55
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger Reply with quote
Christopher D



Joined: 25 Jun 2005
Posts: 17
Christopher D
[ Post removed by author. ]


Last edited by Christopher D on 23 Oct 2011, 16:53; edited 1 time in total
Post 27 Sep 2005, 16:30
View user's profile Send private message Reply with quote
Christopher D



Joined: 25 Jun 2005
Posts: 17
Christopher D
[ Post removed by author. ]


Last edited by Christopher D on 23 Oct 2011, 16:55; edited 1 time in total
Post 27 Sep 2005, 16:33
View user's profile Send private message Reply with quote
Madis731



Joined: 25 Sep 2003
Posts: 2140
Location: Estonia
Madis731
FASM's current support is only for x86 (including its 64-bit variant) but the macros are powerful enough to translate any code, the only problem remaining, someone needs to code it.
When people program for different architectures, they usually use C (or variants) which has a LOT of include files so the output can be any processor and any operating system. Of course all this is possible with FASM, but like I said said before someone's gotta make the includes/macros that support it.
Post 28 Sep 2005, 07:19
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17344
Location: In your JS exploiting you and your system
revolution
Quote:
the macros are powerful enough to translate any code
Be careful what you claim, FASM macros are good but to say that any code can be translated is going too far, some code cannot be translated with macros. The normal ARM code uses the "#" to encode literals, FASM will happily concatenate when it sees "#". Another example is labels beginning with a digit are not supported.
Post 28 Sep 2005, 09:53
View user's profile Send private message Visit poster's website Reply with quote
Madis731



Joined: 25 Sep 2003
Posts: 2140
Location: Estonia
Madis731
I didn't claim you can use any syntax rather you may use FASM-like syntax to assemble ARM. You just need to make the includes or macros that mimic the way one expects. C being an example doesn't change its syntax when coding for different architectures - why should FASM?!
Post 28 Sep 2005, 13:26
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger Reply with quote
Reverend



Joined: 24 Aug 2004
Posts: 408
Location: Poland
Reverend
Becuase programs in C are compiled on different processors. When compiled on ARM, the libc with opcodes for ARM will be used, and so on. Using FASM is using only one and specific opcodes already, not dependencies to some library
Post 28 Sep 2005, 14:38
View user's profile Send private message Visit poster's website Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17344
Location: In your JS exploiting you and your system
revolution
Quote:
I didn't claim you can use any syntax rather you may use FASM-like syntax to assemble ARM
Okay, sorry about that, I misunderstood. In that case I think you are correct. But that macros needed would be quite large and cumbersome.
Post 29 Sep 2005, 00:52
View user's profile Send private message Visit poster's website Reply with quote
HyperVista



Joined: 18 Apr 2005
Posts: 691
Location: Virginia, USA
HyperVista
You may want to look a the Compact Framework. Here's a link to an opensource group supporting the Compact Framework: http://www.opennetcf.org/forums/
Post 29 Sep 2005, 02:45
View user's profile Send private message Visit poster's website Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid
if someone still hits this thread, working WinCE executable can be found here: http://board.flatassembler.net/topic.php?t=4191
Post 21 Jun 2006, 09:09
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid
also here is interesting article on winCE drivers: http://www.embedded.com/story/OEG20010618S0083
Post 21 Jun 2006, 18:59
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
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 vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on YouTube, Twitter.

Website powered by rwasa.