PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

ARM Assembly Language

Hello,
I am trying to play around with ARM assembly language to do some 16.16 fixed point multiplies. I am having trouble with the process. I know I can write a function in EVC++ and then output it to ARM assembly. However, when I try to run ARMASM.EXE on the output file, it spits out all kinds of errors on the test.asm file. Are there any specific parameters to ARMASM I should be passing?

Also, when I installed EVC++, I installed a crapload of things, so I have like 4 different ARMASM compilers. One for WCE210, WCE211, WCE212 and WCE300. I've tried all of them, but my instinct tells me the one in the WCE300\BIN folder is the one I want. Is this correct?

If anybody can help, I'd appreciate it.

Chris
Let us know what the errors are, and we can likely help more. The assembler is normally quite picky about wanting things tabbed in to the "correct" place, IIRC.

If you're compiling for a "Pocket PC" device then yes, the one in the WCE300 directory will do fine (though the others should work too, I'd think).

addendum:

Simon Jacobs' file may help you, too:

http://groups.yahoo.com/group/Pocket-PC ... asmFAQ.htm
link didnt work :|
It's also posted in this thread:

http://forums.pocketmatrix.com/viewtopic.php?t=4063

(You needed a Yahoo Groups login to get to the other one).
Wow, that link rocks refractor! Thanks so much. I will post the errors when I get home from work. I guess I was just confused why the output .asm file generated by EVC++ wouldn't even compile with ARMASM... Hmph.

Chris
DooMer_MP3 · 09 May 2003, 15:54 UTC — ARM Assembly Language
DooMer_MP3 wrote:
Hello,
I am trying to play around with ARM assembly language to do some 16.16 fixed point multiplies. I am having trouble with the process. I know I can write a function in EVC++ and then output it to ARM assembly. However, when I try to run ARMASM.EXE on the output file, it spits out all kinds of errors on the test.asm file.

...


It would help if the ASM files I spit out would've been for ARM and not MIPS :roll:. I'm a damn fool! Oh well it was late :D.

But anyhow, thanks to that nice FAQ I played around with some ASM and wrote some functions in assembly and sped some stuff up by a few FPS. That was really fun. I haven't done ASM since college a few years back and it was for pointless stuff. The last useful ASM I did was for the x86 for 2d graphics. Its fun to tinker again ;).

Chris