Files
Output Files
MCUez HC12 Assembler User’s Manual
MOTOROLA Files 73
4.4.2 Absolute Files
When an application is encoded in a single module and all the sections are
absolute sections, the user can decide to generate an absolute file instead of an
object file. This file is written to the directory given in the environment variable
ABSPATH. If that variable contains more than one path, the absolute file is
written in the first directory given. If this variable is not set, the absolute file is
written in the directory where the source file was found. Absolute files always
get the extension .abs.
4.4.3 Motorola S Files
When an application is encoded in a single module and all the sections are
absolute sections, the user can decide to generate an absolute file instead of an
object file. In that case, a Motorola S record file is generated at the same time.
This file can be burnt into an EPROM. It contains information stored in all
READ_ONLY sections in the application. The extension for the generated
Motorola S record file depends on the SRECORD variable setting.
For instance:
• If SRECORD = S1, the Motorola S record file gets the extension
.s1.
• If SRECORD = S2, the Motorola S record file gets the extension
.s2.
• If SRECORD = S3, the Motorola S record file gets the extension
.s3.
• If SRECORD is not set, the Motorola S record file gets the
extension .sx.
This file is written to the directory given in the environment variable ABSPATH.
If that variable contains more than one path, the motorola S file is written in the
first directory given. If this variable is not set, the file is written in the directory
the source file was found.