How to Prototype ??
Posted on 2005-04-10
Hello. I have DevC++ and RaDASM with MASM32.
I made a program in assembly which I need to use from an C Program. I generated the obj file . AThen in the C Ide in project options I added this obj file.
The question here is how must I use the .H file to use the assembly function and how can I use the function from main.c
This is my asm program
.model flat, stdcall
Myproc proc var1:REAL4, var2:REAL4
fwait ;<- is this really needed?
mov eax, retval