Method and apparatus for implementing a bi-endian capable compiler
Abstract
A method of compiling code includes assigning an endian type to data. An endian flip operation is performed based on the endian type of the data and a target system. Other embodiments are described and claimed.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 37 · Forward citations: 1.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A computer implemented method of compiling source code, comprising: assigning an endian type to data in the source code before the source code is converted to an intermediate representation; converting the source code to the intermediate representation; converting the intermediate representation to machine code; and inserting machine instructions to perform an endian flip operation based on the endian type of the data and a target system when the machine instructions are executed by a processor in the target system.
- Claim 2Depends on #1
The method of claim 1 , further comprising determining the endian type of the data from a declaration of the data in the source code.
- Claim 3Depends on #1
The method of claim 1 , further comprising determining the endian type of the data in the source code based on implicit declaration criteria.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (1 of 1 total)
References Cited — Backward Prior Art (37)
Non-Patent Literature (5)
- "Cultivating inspiration for programming", Special topic 2, Part 2, NIKKEI Software, Issue 12, Series 6, Nikkei Business Publications, Inc., Dec. 2003, pp. 72-79.
- "Enterprise PL/I for z/OS Language Reference Version 3 Release 3.0", IBM Corporation, No. SC27-1460-03, XP7920048, pp. 221-256, Oct. 2003.
- "Interface", CQ Publishing Co., Ltd., Issued on Mar. 1, 1990, vol. 6, Issue 3, 10 pages.
- "Interface", CQ Publishing Co., Ltd., Issued on May 1, 1994, vol. 20, Issue 5, 10 pages.
- "Language Processor", Maruzen Co. Ltd., ISBN: 4-621-03877-X, Sep. 30, 1993, 14 Pages.