O'Reilly logo

The Unabridged Pentium 4 IA32 Processor Genealogy by Bob Colwell, Tom Shanley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Calling a Procedure in the Current Task

This section describes how to transfer control to another procedure in the currently executing task. Table 8-2 on page 142 contains a list of the possible scenarios and the method to be used.

Table 8-2. How to Transfer Control to another Procedure in Current Task
To Jump to or CallUse
Procedure in the same code segment.The programmer uses a near jump or near CALL instruction.
Procedure in another, non-conforming code segment with the same privilege level (CPL = DPL).The programmer uses a far jump or far CALL instruction. A Call Gate (described in the next section) could be used, but isn't necessary.
Procedure in another, conforming code segment that has the same privilege level (CPL = DPL) or that is more privileged ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required