Use this panel to specify language compatibility modes for the HCS08 Assembler.
The following table lists and describes the compatibility mode options for HCS08 Assembler.
| Option | Description |
|---|---|
| Select all (-Compat) | Check to enable all compatibility mode options. |
| Symbol prefixes (-Compat=s) | With this suboption, the Assembler accepts "pgz:" and "byte:" prefixed for symbols in XDEFs and XREFs. They correspond to XREF.B or XDEF.B with the same symbols without the prefix. |
| Ignore FF character at line start Symbol prefixes (-Compat=f) | With this suboption, an otherwise improper character recognized from feed character is ignored. |
| Alternate comment rules (-Compat=c) | With this suboption, comments implicitly start when a space is present after the argument list. A special character is not necessary. Be careful with spaces when this option is given because part of the intended arguments may be taken as a comment. However, to avoid accidental comments, the Assembler does issue a warning if such a comment does not start with a "*" or a ";". |
| Support FOR directive (-Compat=b) | With this suboption, the Assembler supports a FOR - Repeat assembly block assembly directive to generate repeated patterns more easily without having to use recursive macros. |
| Add some additional directives (-Compat=a) | With this suboption, some additional directives are added for enhanced compatibility. The Assembler actually supports a SECT directive as an alias of the usual SECTION - Declare Relocatable Section assembly directive. The SECT directive takes the section name as its first argument. |
| Operator != means equal (-Compat==) | The Assembler takes the default value of the != operator as not equal, as it is in the C language. For compatibility, this behavior can be changed to equal with this option. Because of the risks involved with this option for existing code, a message is issued for every != which is treated as equal. |
| Support $ character in symbol (-Compat=) | With this suboption, the Assembler supports to start identifiers with a $ sign. |
| Support additional ! symbols (-Compat=!) | The following additional operators are defined when this option is used:
|