Method for calling and returning from subroutine that is invoked by either a near call or a far call
US5261101A · kind A · utility
Assignee
Inventor
Key dates
| Filing date | Feb 28, 1990 |
| Grant date | Nov 9, 1993 |
| Priority date | — |
| Expiry date | Feb 28, 2010 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06F9/4486
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
A method for calling and returning from a computer subroutine is provided. The method allows a subroutine executing on a stack-oriented computer with segmented addressing, such as the Intel 80386, to be invoked by both an inter-segment call and an intra-segment call instruction. The method allows multiple subroutines in one code segment to share an inter-segment return instruction. The method further provides for the locating of that instruction so that the pushing of its offset onto the stack can be accomplished efficiently.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.