HEXBIN(1)

NAME
hexbin - convert an Intel HEX-file to a binary image

SYNOPSIS
hexbin [options] hexfile [binary]

DESCRIPTION
hexbin is a program that converts Intel HEX-files to plain binary image files.

FILES
hexfile is the Intel HEX-file, and binary is the output file.
All file names that are specified explicitly, are left unchanged. The parameter binary is optional. When omitted, the binary file name is derived from the hexfile name, but with extension .bin.
The maximum length of a file parameter is limited to 255 characters!

OPTIONS
hexbin recognizes the following options:

-o offs
--offset=offs
    inserts offs dummy bytes on top of the output file before the HEX record with the lowest load address. offs must be a hex number. (Default: offs=0)

-l len
--length=len
    appends as many dummy bytes after the HEX record with the highest load address until the total file length becomes exactly len. len must be a hex number. (Default: append 0 bytes)

-f peep
--fill=peep
    fills all peepholes in the output file with dummy bytes of the value peep. peep must be a hex number. (Default: peep=FF)

-v, --verbose
    output a brief file conversion report and additional product and version information.

Long options may be abbreviated as long as they remain unique. All option names are case-sensitive!

EXIT STATUS
When terminating, hexbin returns an exit code to the calling process:

    0 no errors
    1 conversion errors detected
    2 fatal runtime error

USAGE
For detailed information on hexbin refer to the ASEM-51 User's Manual in ASCII file asem_51.doc, or start reading with HTML file docs.htm!

CONFORMING TO
hexbin can process object files in 16-bit Intel-HEX format.

AUTHOR
W.W. Heinz

SEE ALSO
asem(1), customiz(1), reset51(1), boot(1)