Emulated branch effected by trampoline mechanism
US6505296B2 · kind B2 · utility
Assignee
Inventors
Key dates
| Filing date | Mar 8, 2000 |
| Grant date | Jan 7, 2003 |
| Priority date | — |
| Expiry date | Mar 8, 2020 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06F11/1407
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
A computer system includes a processor for executing a program and an interruption handler from a memory. The processor includes an instruction pointer indicating a memory location of a current executing instruction. The processor executes a trampoline check instruction in the program which tests a condition and if the condition is true, causes an interruption and supplies an address displacement. The interruption handler responds to the interruption and restarts execution of the program at a restart point indicating a memory location of a special handler in the program. The restart point is a sum of the address displacement and a value of the instruction pointer at the time of the interruption. If the condition is false, normal control flow of the program is continued.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.