Method and mechanism for calling 32-bit functions from 16-bit functions
Abstract
In the field of mixed 16-bit and 32-bit code, a method and mechanism are provided to implement alterations in the dynamic portion of memory containing the data objects used by code in the 16-bit environment so that such data is accessible to code from the 32-bit environment. The code necessary to implement the method is generated automatically by an enhanced compiler on identifying 16-bit linkage in the 32-bit code. Once the data objects in the stack are accesible to the 32-bit code, a function in the 16-bit code can successfully call a function in 32-bit code.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 9 · Forward citations: 36.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A combination operable in conjunction with a digital computer system having a central processing unit (CPU) to provide a 32-bit function with access to a memory stack shared with at least one 16-bit code function, the combination comprising: a 32-bit program means for causing the CPU to execute a 32-bit code function; and prologue means in the 32-bit program means responsive to a call from a 16-bit code function for: building a parameter list in a memory stack in 32-bit form to allow the 32-bit code function to access data in the memory stack; translating 16-bit register values in the memo
- Claim 2Depends on #1
The combination of claim 1, the prologue
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 36 total)
References Cited — Backward Prior Art (9)
Non-Patent Literature (3)
- Intel i486 Processor Programmer s Reference Manual, 1990, Chapters 10 and 21 24.
- Intel i486 Processor Programmer's Reference Manual, 1990, Chapters 10 and 21-24.
- Mircrprocessors and Programmed Logic, by Kenneth L. Short, 1981, Chapter 6.