CHAPTER 7: DISASSEMBLER

CHAPTER 7 DISASSEMBLER

This chapter describes the functions of the disassembler, ds63.

7.1 Functions

The disassembler's input is an object in IEEE-695 or Motorola-S format. The code in the object file is disassembled into mnemonics, and output as a source file. The restored source file can be processed in the assembler/linker/hex converter to obtain the same object or hex file.

7.2 Input/Output Files

 

from Linker

from Hex converter

IEEE-695 absolute

 

file.hsa

Motorola-S file

file.abs or

file.lsa

object file

 

 

 

file.csa

 

Disassembler

ds63

file.ms

ds63.err

Preprocessed source file

Error file

Fig. 7.2.1 Flow chart

7.2.1 Input Files

Absolute object file

File format: Binary file in IEEE-695 format

File name: <File name>.abs (A path can also be specified)

Description: Absolute object file created by the linker

Hex file

File format: Text file in Motorola-S format

File name: <File name>.hsa, <File name>.lsa and <File name>.csa

Description: Hex files created by the hex converter. Three hex files are needed: ".hsa" that contains the four high-order bits of the object codes with 0b000 extended, ".lsa" that contains the eight low-order bits and ".csa" that contains four-bit data for the data ROM. If there is no data ROM, the ".csa" file is not required.

7.2.2 Output Files

Source file

File format: Text file

File name: <File name>.ms

Output destination: Current directory

Description: Disassembled contents of the input file are delivered.

Error file

File format: Text file File name: ds63.err

Output destination: Current directory

Description: The file is created if the -e start-up option is specified. It records the information that the disassembler outputs to the Standard Output (stdout), such as error messages. The file name is "ds63.err" by default, but it can be changed using the -o start-up option.

S5U1C63000A MANUAL

EPSON

111

(S1C63 FAMILY ASSEMBLER PACKAGE)