User’s Manual MCUez HC12 Assembler
158 Assembler Syntax MOTOROLA
Assembler Syntax
Table 7-5 describes the type of expression according to left and right operands
in a binary operation.
7.9 Translation LimitsThese limitations apply to the macro assembler:
• Floating-point constants are not supported.
• Complex relocatable expressions are not supported.
• Lists of operands or symbols must be separated with a comma.
• Include may be nested up to 50.
• The maximum line length is 1023.
Table 7-5. Expression — Operator Relationship (Binary)
Operator Left Operand Right Operand Expression
— Absolute Absolute Absolute
— Relocatable Absolute Relocatable
— Absolute Relocatable Complex
— Relocatable Relocatable Absolute
+ Absolute Absolute Absolute
+ Relocatable Absolute Relocatable
+ Absolute Relocatable Relocatable
+ Relocatable Relocatable Complex
*, /, %, <<, >>, |, &, ^ Absolute Absolute Absolute
*, /, %, <<, >>, |, &, ^ Relocatable Absolute Complex
*, /, %, <<, >>, |, &, ^ Absolute Relocatable Complex
*, /, %, <<, >>, |, &, ^ Relocatable Relocatable Complex