Invention Grant
US09262136B2 Allocate instruction and API call that contain a sybmol for a non-memory resource 有权
为非内存资源分配包含sybmol的指令和API调用

Allocate instruction and API call that contain a sybmol for a non-memory resource
Abstract:
A novel allocate instruction and a novel API call are received onto a compiler. The allocate instruction includes a symbol that identifies a non-memory resource instance. The API call is a call to perform an operation on a non-memory resource instance, where the particular instance is indicated by the symbol in the API call. The compiler replaces the API call with a set of API instructions. A linker then allocates a value to be associated with the symbol, where the allocated value is one of a plurality of values, and where each value corresponds to a respective one of the non-memory resource instances. After allocation, the linker generates an amount of executable code, where the API instructions in the code: 1) are for using the allocated value to generate an address of a register in the appropriate non-memory resource instance, and 2) are for accessing the register.
Information query
Patent Agency Ranking
0/0