beautypg.com

7 hex converter, 1 functions, 2 input/output files – Epson S5U1C62000A User Manual

Page 117: 1 input files, 2 output files, Chapter, Onverter

background image

S5U1C62000A MANUAL

EPSON

105

(S1C60/62 FAMILY ASSEMBLER PACKAGE)

CHAPTER 7: HEX CONVERTER

CHAPTER

7 H

EX

C

ONVERTER

This chapter will describe the functions of Hex Converter hx62.

7.1 Functions

Hex Converter hx62 converts an absolute object file in IEEE-695 format output from the linker into a hex
file in Intel-HEX format or Motorola-S format. This conversion is needed when debugging the program
with the ROM or when creating mask data using the mask data checker provided for each model.
When creating the ROM-image hex data, the hex converter fills the unused area of each model with 0xff.

7.2 Input/Output Files

file h.hex

Hex Converter

hx62

file.abs

Absolute

object file

file l.hex

file.lsa

file.hsa

Intel-HEX

format files

Motorola-S

format files

or

file.err

Error file

ROM or Mask data creation

ICE
parameter file

file.par

from Linker

Fig. 7.2.1 Flow chart

7.2.1 Input Files

Absolute object file

File format: Binary file in IEEE-695 format

File name: .abs

(A path can also be specified.)

Description: Absolute object file created by the linker.

ICE parameter file

This file must always be specified.

File format: Text file

File name: .par

(A path can also be specified.)

Description: File to specify the memory mapping information of each S1C62 Family model. This

file is supplied in the development tools for each model and is commonly used with
the linker, debugger and disassembler.

7.2.2 Output Files

Hex file

File format: Text file in Intel-HEX or Motorola-S format

File name: Intel-HEX format

h.hex and l.hex

Motorola-S format

.hsa and .lsa

Output destination: Current directory

Description: Two hex files are generated: one ("h.hex" or ".hsa") contains the four high-order bits

of the object codes with 0b0000 extended and the other ("l.hex" or ".lsa") contains
the eight low-order bits. Intel-HEX format files are delivered by default. Motorola-S
format files can be specified using the -m option.

Error file

File format: Text file

File name: .err

Output destination: Current directory

Description: File that is delivered when the start-up option (-e) is specified. It records information

that the hex converter outputs to the Standard Output (stdout), such as error
messages.