Tornado Reference : Tornado Utilities

binToAsm

NAME

binToAsm - convert a binary file to an assembly file

SYNOPSIS

binToAsm file

DESCRIPTION

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 */

SEE ALSO

binToAsm, UNIX documentation for od (1)