Motorola HC12 User Manual
Page 11

Table of Contents
MCUez HC12 Assembler
User’s Manual
MOTOROLA
Table of Contents
11
Indexed, Pre-Increment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139
Indexed, Post-Decrement . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
Indexed, Post-Increment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
Indexed, Accumulator Offset . . . . . . . . . . . . . . . . . . . . . . . . . 142
Indexed-Indirect, D Accumulator Offset . . . . . . . . . . . . . . . . 143
Indexed PC versus Indexed PC Relative
Addressing Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144
Comment Field. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
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