Tornado Reference : Tornado Utilities

binToAsm

NAME

binToAsm - convert a binary to assembly

SYNOPSIS

binToAsm file

DESCRIPTION

This tool reads a binary data file from the named file, and writes on the standard output an assembly file which begins with the label binArrayStart, and ends with the label binArrayEnd. The data is placed in the .data section and is aligned to a 4 byte boundary, and is zero-padded to a 4 byte boundary.

A C program would reference the data as follows:

    extern UCHAR binArrayStart [];
    extern UCHAR binArrayEnd;