Page 1 of 1

Who could give me an simple example about calling gate?

Posted: Sun Jan 16, 2011 7:38 am
by leetow2003
I am learning about calling gate,who could give me
an simple example?I use masm to compile it.

Re: Who could give me an simple example about calling gate?

Posted: Tue Jan 18, 2011 10:08 pm
by leetow2003
I read some books about call gate,but I don't understand it,so I want to learn an simple
example and I maybe understand it.Who could help me?Thanks.

Re: Who could give me an simple example about calling gate?

Posted: Wed Jan 19, 2011 8:30 pm
by leetow2003
when I call another sub-routine from priviledge 3 to priviledge 0,I want to know
how to use stack,and what does it push?when it return,what does it pop?
and could I call another sub-routine from priviledge 0 to priviledge 3?

Re: Who could give me an simple example about calling gate?

Posted: Thu Jan 20, 2011 2:45 am
by Combuster
please see the IA-32 manuals.
QFT. The intel manuals have all the information you need, and you really ought to learn how to read them.
And if you did read them, at least show us what you learnt, so that we can see where you are stuck rather than seeing a total lack of effort - Berkus was trying to get you through the learning process and you just dismiss him and come back with "Ok, who wants to just give me the answer?"