On Feb 16, 2008, at 6:32 PM, Eris Discordia wrote:
Using the stack there would create re-entry problems
Under very specific conditions you can do
PUSH Param1
PUSH Param2
PUSH Param3
INT 80h
What are those conditions?
- Pascal calling convention
- You save the registers before PUSHing the first argument
For now, my OS does this as a temporary method of avoiding the necessity of managing different numbers of registers. This will change in due time!