Posted: Sun Feb 19, 2006 3:30 am Post subject: Assembler
Well... this is not exactly what you want, but i know two programs to code in assembler for ER5. I hope it will be of some help to you.
First one (and newer one) is Assembleur5, by Dominique Sevaille. An epoc program which will let you make opx files in arm assembler. It's in french, but has very good doc, and examples. I have it half-translated to english.
But it has some limitations. the opx will ocuppy 14 kb (At least), because it uses a model. And also i'm pretty sure that you can only have 1 function. So you call the opx, giving it the data, and you recieve the result. That's all...
Webpage: http://perso.wanadoo.fr/psions5-3495/
Download: http://perso.wanadoo.fr/psions5-3495/ExcePsion/Assembleur.zip
or here: http://dcabuzel.free.fr/bin5/assembleur5.zip
The other one (my favourite) is ASM, by Henrik Bjerregaard. It has an opx (MC OPX), which must be loaded, and provides some functions to load an extension file, which is the one you have compiled, and has the assembler code. You can export the labels in the asm-code, that want to be called from the opl program, you assign them a handle, and using the mc.opx functions you are able to use them.. Its a very good opx, imhp. It has an asm editor, for editing and compiling the sources. And good documentation. (It's opensource)
You can also, for example, manipulate memory buffers from within the assembler code.. It has many possibilities..
Of course you can't call the Operating System from assembler. the O/S is written in C++ and there is no way AFAIK you can call the O/S. There is not a system calls list anywhere, you know. I whish it would be...
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