Page 1 of 1

CALLing Procedures

Posted: Sun Sep 08, 2002 6:38 pm
by PlayOS
Hi,

If I have a system service, say a procedure to move the cursor on the screen and I want to call it from another segment, how can I determine how much data the processor has put on the stack. I know if I call the procedure from within the same segment (near call) it will push EIP in PMode, what does it push if I call the procedure from a different segment (far call)?

Should I have two procedures, one for the near call? and one for the far call?

Re:CALLing Procedures

Posted: Mon Sep 09, 2002 3:43 am
by Pype.Clicker
imho, i'm afraid you'll have to do so ...