Motorola HC12 User Manual
Page 118

User’s Manual
MCUez HC12 Assembler
118
Assembler Syntax
MOTOROLA
Assembler Syntax
User-Defined Symbols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
External Symbols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146
Undefined Symbols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
Reserved Symbols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
Integer Constants . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148
String Constants . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148
Floating-Point Constants . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148
Addition and Subtraction Operators (Binary) . . . . . . . . . . . . . . . 149
Multiplication, Division, and Modulo Operators (Binary) . . . . . 149
Sign Operators (Unary) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150
Shift Operators (Binary). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150
Bitwise Operators (Binary) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151
Bitwise Operators (Unary) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151
Logical Operators (Unary) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152
Relational Operators (Binary) . . . . . . . . . . . . . . . . . . . . . . . . . . . 152
Memory PAGE Operator (Unary) . . . . . . . . . . . . . . . . . . . . . . . . 153
Force Operator (Unary) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153
Absolute Expressions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156
Simple Relocatable Expression . . . . . . . . . . . . . . . . . . . . . . . . . . 157
Translation Limits. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158