User’s Manual MCUez HC12 Assembler
64 Environment Variables MOTOROLA
Environment Variables
3.5.6 SRECORD
Syntax: SRECORD=<RecordType>
Arguments: <Record Type>: Force the type for the Motorola S record that
must be generated. This parameter may take the value S1, S2,
or S3.
Description: This environment variable is only relevant when absolute files
are generated directly by the macro assembler instead of object
files. When this environmentvariable is defined, the assembler
will generate a Motorola S file containing records from the
specified type (S1 records when S1 is specified, S2 records
when S2 is specified, and S3 records when S3 is specified).
When this variable is not set, the type of S record generated
will depend on the size of the address loaded there. If the
address can be coded on two bytes, an S1 record is generated.
If the address is coded on three bytes, an S2 record is
generated. Otherwise, an S3 record is generated.
NOTE:
If the environment variable SRECORD is set, it is the user’s responsibility to
specify the appropriate S record type. If S1 is specified while the code is loaded
above 0xFFFF, the Motorola S file generated will not be correct because the
addresses will all be truncated to 2-byte values.
Example: SRECORD=S2
MCUez Shell: Open the Current Configuration dialog.
Select the Additional tab.
Enter the environment variable in the list box.
See also: None