CHAPTER 6: HEX CONVERTER
S5U1C63000A MANUAL EPSON 105
(S1C63 FAMILY ASSEMBLER PACKAGE)
CHAPTER 6HEX CONVERTER
This chapter describes the functions of hex converter, hx63.
6.1 Functions
The hex converter hx63 converts an absolute object file in IEEE-695 format output from the linker into a
hex file in Motorola-S format or Intel-HEX format. This conversion is needed when debugging the
program with the ROM or when creating mask data using the mask data checker.
When creating the ROM-image hex data, the hex converter fills the unused area of each model with 0xff.
6.2 Input/Output Files
filec.hex file.csa
filel.hex
Hex Converter
hx63
file.abs
Absolute
object file
fileh.hex
file.lsa
file.hsa
Intel-HEX
format files
Motorola-S
format files
or
hx63.err
Error file
ROM or Mask data creation
ICE
parameter file
file.par
from Linker
Fig. 6.2.1 Flow chart
6.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.
ICE parameter file ∗ This file must always be specified.
File format: Binary file
File name: <File name>.par (A path can also be specified.)
Description: File to specify the memory mapping information of each S1C63 Family model. This
file is provided for each model and is commonly used with the linker and debugger.
6.2.2 Output Files
Hex file
File format: Text file in Motorola-S format or Intel-HEX format
File name: Motorola-S format <File name>.hsa, <File name>.lsa and <File name>.csa
Intel-HEX format <File name>h.hex, <File name>l.hex and <File name>c.hex
Output destination: Current directory
Description: Three hex files are generated: ".hsa" or "h.hex" that contains the five high-order bits
of the object codes with 0b000 extended, ".lsa" or "l.hex" that contains the eight low-
order bits and ".csa" or "c.hex" that contains four-bit data for the data ROM.
Motorola-S format files are delivered by default. Intel-HEX format files can be
specified using the -i option.
Error file
File format: Text file
File name: hx63.err
Output destination: Current directory
Description: The file is created if the -e start-up option is specified. It records information that the
hex converter outputs to the Standard Output (stdout), such as error messages. The
file name is "hx63.err" by default, but it can be changed using the -o start-up option.