flat assembler
Message board for the users of flat assembler.

Index > Macroinstructions > Make C proc

Author
Thread Post new topic Reply to topic
alorent



Joined: 05 Dec 2005
Posts: 221
alorent 25 Dec 2010, 08:22
Merry Christmas guys!

I was wondering if using the "PROC" macro we can create a CDECL procedure.

I have seen that in "PROC.INC" there are definitions to call a procedure as stdcall, CDECL, etc, but how I can make my proc in "C" style so it can be called by a C application which expects is as CDECL?

Something like:

Code:
MyFunction proc CDECL arg1, arg2

...

MyFunction endp    


Thanks!
Post 25 Dec 2010, 08:22
View user's profile Send private message Reply with quote
SFeLi



Joined: 03 Nov 2004
Posts: 138
SFeLi 25 Dec 2010, 08:49
proc MyFunction c,arg1,arg2
Post 25 Dec 2010, 08:49
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20430
Location: In your JS exploiting you and your system
revolution 25 Dec 2010, 09:36
Post 25 Dec 2010, 09:36
View user's profile Send private message Visit poster's website Reply with quote
alorent



Joined: 05 Dec 2005
Posts: 221
alorent 26 Dec 2010, 07:59
Thanks guys!!!
Post 26 Dec 2010, 07:59
View user's profile Send private message 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-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.