xref: /inferno-os/man/10/ms2 (revision 46439007cf417cbd9ac8049bb4122c890097a0fa)
MS2 10.1
NAME
ms2 - convert executable or raw file to Motorola S record format
SYNOPSIS
ms2 [ option ... ] infile
DESCRIPTION
ms2 converts the infile onto the standard output in Motorola S record format. If the -b option is not given, the infile is presumed to be an executable, and the header and symbol table stripped. If the -b option is given, the file is treated as raw binary. The options are:

1i -d Encode the data segment only.

-s Omit the end record, presumably to accomodate poorly implemented decoders.

-T addr

-A addr Set the address of the text segment, i.e. the first record output. -a is an older, deprecated option.

-R n

-p n Set the page size in use by the linker. -p is an older, deprecated option.

-b The infile is binary. Ignores the -R and -d options.

-S addr Sets the entry address output in the end record.

SOURCE
5cv (10.1)