The following operators can be used to better focus your queries.
( ) , AND, OR, NOT, W/#
? single char wildcard, not at start
* multi char wildcard, not at start
(Cat? OR feline) AND NOT dog?
Cat? W/5 behavior
(Cat? OR feline) AND traits
Cat AND charact*
This guide provides a more detailed description of the syntax that is supported along with examples.
This search box also supports the look-up of an IP.com Digital Signature (also referred to as Fingerprint); enter the 72-, 48-, or 32-character code to retrieve details of the associated file or submission.
Concept Search - What can I type?
For a concept search, you can enter phrases, sentences, or full paragraphs in English. For example, copy and paste the abstract of a patent application or paragraphs from an article.
Concept search eliminates the need for complex Boolean syntax to inform retrieval. Our Semantic Gist engine uses advanced cognitive semantic analysis to extract the meaning of data. This reduces the chances of missing valuable information, that may result from traditional keyword searching.
Disclosed is a method to generate assembler language code to call a C/C++ function from an assembler language program independent of the machine architecture, compiler, and operating system associated with the code.
English (United States)
This text was extracted from a PDF file.
This is the abbreviated version, containing approximately
53% of the total text.
Page 1 of 2
A Generic Way To Call A C/C++ function From Assembler Language Code
Disclosed is a method to generate assembler language code to call a C/C++ function from an assembler language program. This invention enables assembler language programs to call C/C++ language functions independent of the machine architecture, compiler, and operating system associated with the code.
Two assembler language macros are used to simulate the C/C++ language code needed to call a C/C++ function. The CPROC assembler macro simulates the coding of a function prototype in C/C++ language code. The CALLC assembler macro simulates the actual function call in C/C++ language code. If an assembler program uses the CALLC macro to call a C/C++ function, the program must issue a CPROC macro to define the function prototype for that function. The CALLC macro simulates the code generated by the C/C++ compiler by passing the parameters to the function in the format expected by the function.
The CPROC macro consists of three required parameters: (1) the C/C++ language type of the return value; (2) the name of the function to be called; (3) a list of C/C++ language types for each of the arguments that are passed as parameters to the C/C++ function. Examples of C/C++ language types that are supported by the CPROC macro are: unsigned character, unsigned short integer, unsigned integer, signed integer, unsigned long integer, and pointer. The CALLC macro, when coded in assembler language, looks very similar to a C/C++ language function call. The macro specifies the function name followed immediately by a set of arguments enclosed in parenthes...