- using ARMASM for a StrongARM SA-1100 processor
- Posted by Mengyao on July 8th, 2003
I'm trying to add an accurate 20ms delay into my code. The processor
i'm using is a StrongARM SA-1100 that uses MS CE as it's OS. And I
have been coding is EVC 3.0. However since EVC's SYSTEMTIME struct
doesn't support milliseconds, it's been really hard for me to put in
an accurate delay. Sleep and getTickCount both won't work, they are
both fairly inaccurate. Once this is up and running it may need to be
up for months at a time.
So i have been thinking about going into asssembly and getting the OS
time from there, or obtain time some other way.
I would very much so like input on how I can do this.
Here are the problems that I am faced with right now trying to use
assembly.
1) EVC doesn't support in line assembly, so it will have to be in
another .s file.
2) how to link the finished object file to the rest of my code.
3) it needs to work with other C++ functions, how do I have it return
the values back into my C code.
4) and so far using armasm i've been getting a werid error, it keeps
on saying that my area has not been declared when my first line is:
AREA name, CODE, READONLY
Any ideas on how I can get this to work would be very much
appreciated. Please e-mail any suggestions to mliang1@uiuc.edu
Thank you all very much,
Mengyao
- Posted by r_z_aret@pen_fact.com on July 8th, 2003
If your target device is a Pocket PC, you would probably do better
asking in
microsoft.public.pocketpc.developer
rather than this newsgroup (comp.sys.handhelds).
Also, the following web sites might be useful:
www.pocketpcdn.com
http://www.cewindows.net/developer/dev.htm
If the target is not actually a Pocket PC, the above might still be
useful.
I tried using google to look up
strongarm asm windows ce
and came up with 13 hits, none of which look very promising.
On 8 Jul 2003 11:55:42 -0700, KTakhisis@hotmail.com (Mengyao) wrote:
-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message).
Robert E. Zaret
PenFact, Inc.
46 Beach Street
Boston, MA 02111
www.penfact.com
- Intel Pentium M Processor 730 (1.6Ghz) versus Intel Mobile Pentium 4 Processor 538 (3.2Ghz)?? (Laptops/Notebooks) by T. T.
- AP 1100 (Routers) by Ivan Ostres
- Processor fried, should I upgrade or just buy a processor? (Computers & Technology) by Dim
- HP 1100 - 2 questions (Printers) by John B. Parisi
- Dual processor system vs Single processor system (Computer Hardware) by HawkEye_42

