## Name

EXBIN — Convert S-Record To Binary File

## Synopsis

`exbin` `path2` `path1`

## Description

S-Record files are a type of text file that contains records that represent binary data in hexadecimal character form. This Motorola-standard format is often directly accepted by commercial PROM programmers, emulators, logic analyzers and similar devices that are interfaced RS-232 interfaces. It can also be useful for transmitting files over data links that can only handle character-type data; or to convert OS-9 assembler or compiler-generated programs to load on non-OS-9 systems.

“`Path1`” is assumed to be an S-Record format text file which exbin converts to pure binary form on a new file called “`path2`”. The load addresses of each data record must describe continguous data in ascending order.

Exbin does not generate or check for the proper OS-9 module headers or CRC check value required to actually load the binary file. The ident or verify commands can be used to check the validity of the modules if they are to be loaded or run.

## Example

    exbin program.S1 cmds/program