MCUez HC12 Assembler User’s Manual
MOTOROLA MASM Compatibility 311
User’s Manual MCUez HC12 Assembler
Appendix A. MASM Compatibility
A.1 Content
A.2 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 311
A.3 Comment Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 311
A.4 Constants. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 311
A.5 Operators. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 312
A.6 Directives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 313
A.2 Introduction
The MCUez HC12 assembler has been extended to ensure compatibility with
the MASM assembler.
A.3 Comment Line
A line starting with an asterisk (*) character is considered to be a comment line.
A.4 Constants
For compatibility with MASM, these integer constant notations are supported:
Decimal constants are a sequence of decimal digits (0–9) followed by d
or D.
Hexadecimal constants are a sequence of hexadecimal digits (0–9, a–f,
A–F) followed by h or H.
Octal constants are a sequence of octal digits (0–7) followed by o,O,q,
or Q.