CALLing Procedures

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
PlayOS

CALLing Procedures

Post 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?
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:CALLing Procedures

Post by Pype.Clicker »

imho, i'm afraid you'll have to do so ...
Post Reply