beautypg.com

3 starting method – Epson S5U1C62000A User Manual

Page 118

background image

106

EPSON

S5U1C62000A MANUAL

(S1C60/62 FAMILY ASSEMBLER PACKAGE)

CHAPTER 7: HEX CONVERTER

7.3 Starting Method

General form of command line

hx62 ^ [Options] ^ ^

^ denotes a space.

[ ] indicates the possibility to omit.
The order of options and file names can be arbitrary.

File names

Absolute object file: .abs
ICE parameter file:

.par

The extension of an absolute object file can be omitted. The ICE parameter file must be specified with
its extension.

A long file name supported in Windows and a path name can be specified. When including spaces in
the file name, enclose the file name with double quotation marks (").

Options

The hex converter comes provided with the following four types of start-up options:

-b

Function: Conversion of existing codes only

Explanation: Converts and delivers only the object codes that exist in the specified absolute object

file. Data for unused addresses is not delivered.

Default: If this option is not specified, the hex data for the entire available memory range

of the model is delivered to the output file. Unused addresses are filled with 0xff.

-e

Function: Output of error files

Explanation: Also delivers in a file the contents to be output by the hex converter through the

Standard Output (stdout), such as error messages.

Default: If this option is not specified, no error file will be output.

-m

Function: Conversion into Motorola-S format

Explanation: Generates the hex files (".hsa" and ".lsa") in Motorola-S format.

Default: If this option is not specified, Intel-HEX format files ("h.hex" and "l.hex") are

generated.

-o

Function: Specification of output path/file name

Explanation: Specifies an output path/file name without extension or with an extension

"l.hex", "h.hex", ".lsa" or ".hsa". By specifying only one file name, two HEX files
will be generated.
If no extension is specified, an appropriate extension will be supplemented at the
end of the specified output path/file name. In this case, "l.hex" or "h.hex" is
added to the output file name. It may change a DOS file name (8 character max.)
to a long file name for Windows.

Default: The input file name is used for the output files.

When entering an option in the command line, one or more spaces are necessary before and after the
option.

Example:

c:\e0c62\bin\hx62 -e test.abs ics62xxp.par