Methods and apparatuses for endian conversion

An embodiment of the invention includes code, such as a compiler, that enables byte order dependent code to execute on opposite byte order dependent architectures or systems. The compiler analyzes source code and produces diagnostic reports that indicate where source code changes are desirable to pr...

Full description

Saved in:
Bibliographic Details
Main Authors RICE MICHAEL P, DOMEIKA MAXIMILLIAN J, WILKINSON HUGH
Format Patent
LanguageChinese
English
Published 22.06.2011
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:An embodiment of the invention includes code, such as a compiler, that enables byte order dependent code to execute on opposite byte order dependent architectures or systems. The compiler analyzes source code and produces diagnostic reports that indicate where source code changes are desirable to produce 'endian neutral' source code versions that are compatible with opposite byte order dependent architectures or systems. Such source code changes may be desirable for code portions that will produce implicit byte order changes or byte order border crossings. The modified source code that is generated may include the semantics of the desired endian conversion, as opposed to generated executable code that includes proper endian formats but which may limit the architectures to which the code is applicable.
Bibliography:Application Number: CN201010621047