Valhalla Legends Forums Archive | Assembly Language (any cpu) | Inline Assembly with Pascal

AuthorMessageTime
ctype
I thought it was best to post this up on the assembly language forum.

Just a question for all those assembly programmers out there...

When calling a procedure, where do you move the parameters? My best guess - although I haven't tried it yet - is to push the parameters to the stack then have the procedure in question pop them back off (into appropriate variables in Pascal).

I assume the method that applies to pure assemlby also applies when assemlbing inline with Pascal?
December 1, 2004, 2:30 PM
Adron
This has been discussed. Using keywords like "calling convention", "stdcall", "cdecl", "fastcall" or "pascal" in a search of this forum should help you find the answers.
December 1, 2004, 3:03 PM

Search