HEXTOBIN.EXE INSTRUCTIONS

This routine converts Intel hex files into binary.  Such conversion
is necessary if your compiler/linker or cross assembler generates
Intel hex files as an output, but you wish to write the actual
binary code to an EPROM or similar so that your microprocessor can
understand it! (Micros must have binary code -- they don't understand
Intel hex).

The command line is:

	HEXTOBIN SOURCEFILE XX

...where sourcefile is the name of the Intel hex file you wish to
convert to binary and XX is an optional hexadecimal byte used to
fill blank areas in the final binary file.  NOTE THAT XX IS OPTIONAL.
If you do not specify a fill value, the software defaults to FF hex.
The routine automatically creates a new file with the same name
but the new extension .BIN.  The latter contains the binary conversion.

Example

	HEXTOBIN C:\ASSEM\TEST.HEX 0D

This would convert C:\ASSEM\TEST.HEX into binary and store the result
in the file C:\ASSEM\TEST.BIN.  Any blank areas specified in the
Intel hex file would be filled with the hexadecimal value 0D.

WARNING

To keep the software simple, it does not examine the checksum at the end
of each line in the Intel hex file.  However, unless your hex file
has been corrupted, you will never have a problem.



Glenn Pure
66 Crozier Cct
Kambah   ACT   2902
AUSTRALIA
