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?
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.