beautypg.com

3 starting method – Epson S5U1C62000A User Manual

Page 125

background image

S5U1C62000A MANUAL

EPSON

113

(S1C60/62 FAMILY ASSEMBLER PACKAGE)

CHAPTER 8: DISASSEMBLER

8.3 Starting Method

General form of command line

ds62 ^ [Options] ^ ^

^ denotes a space.

[ ] indicates the possibility to omit.

File names

Absolute object file: .abs
Intel-HEX files:

h.hex, l.hex

ICE parameter file: .par

The input files must be specified with their extension.
The Intel-HEX files can be specified with either "h.hex" or "l.hex" as the extension. The other one
unless specified will be automatically loaded.

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 disassembler comes provided with the following five types of start-up options:

-cl

Function: Use of lower-case characters

Explanation: Creates all instructions and labels using lower-case characters.

Default: If neither this option nor the -cu option is specified, the source will be made with

all labels in upper-case characters and instructions in lower-case characters.

-cu

Function: Use of upper-case characters

Explanation: Creates all instructions and labels using lower-case characters.

Default: If neither this option nor the -cl option is specified, the source will be made with

all labels in upper-case characters and instructions in lower-case characters.

-e

Function: Output of error files

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

Standard Output (stdout), such as error messages.

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

-o

Function: Specification of output path/file name

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

If no extension is specified, ".ms" will be supplemented at the end of the specified
output path/file name.

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

-s

Function: Specification of start address

Explanation: Specifies the start address of the object. This address is used to decide the address

parameter of the first ".org" instruction.

Default: If this option is not specified, the disassembled source will begin with address 0.

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

Example:

c:\e0c62\ds62 -e -cl test.abs ics62xxp.par