hex(1) hex(1)
NAME
hex - translates object files
SYNOPSIS
hex [-f] [-l] [-n#] [-r] [-s0] [-s2] [-ns8] [+saddr] ifile
DESCRIPTION
hex translates object files into ASCII formats suitable for
Motorola S-record downloading. The following flag options
determine locations:
-f The file specified is to be shipped as is without
treating it as an object file.
-l Output "Loading at" message.
-n# Number of characters to output per record. # is a
decimal number.
-r Output a carriage return at the end of each S-record
(instead of a newline).
-s0 Output a leading s0 record.
-s2 S2 records only (no s1 records are produced).
-ns8 Do not output a trailing s8 (s9) record.
+saddr Starting load address (in hex).
ifile File to be downloaded. The file's starting address
is used if saddr is not present.
EXAMPLE
hex objfile
where objfile is the object file to be downloaded.
FILES
/usr/bin/hex
Page 1 (last mod. 1/16/87)