Tornado Reference : Tornado Utilities
binToAsm - convert a binary file to an assembly file
binToAsm file
This tool uses od to produce an ASCII hexadecimal representation of a binary file. The output of od is massaged to produce an assembly file which begins with the label _binArrayStart, and ends with the label _binArrayEnd.
A C program would reference the data as follows:
extern UCHAR binArrayStart []; /* binary image */ extern UCHAR binArrayEnd; /* end of binary image */
binToAsm, UNIX documentation for od (1)