beautypg.com

Motorola HC12 User Manual

Page 11

background image

Table of Contents

MCUez HC12 Assembler

User’s Manual

MOTOROLA

Table of Contents

11

7.4.3.11

Indexed, Pre-Increment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139

7.4.3.12

Indexed, Post-Decrement . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140

7.4.3.13

Indexed, Post-Increment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141

7.4.3.14

Indexed, Accumulator Offset . . . . . . . . . . . . . . . . . . . . . . . . . 142

7.4.3.15

Indexed-Indirect, D Accumulator Offset . . . . . . . . . . . . . . . . 143

7.4.3.16

Indexed PC versus Indexed PC Relative

Addressing Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144

7.4.4

Comment Field. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145

7.5

Symbols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145

7.5.1

User-Defined Symbols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145

7.5.2

External Symbols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146

7.5.3

Undefined Symbols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147

7.5.4

Reserved Symbols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147

7.6

Constants. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147

7.6.1

Integer Constants . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148

7.6.2

String Constants . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148

7.6.3

Floating-Point Constants . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148

7.7

Operators. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149

7.7.1

Addition and Subtraction Operators (Binary) . . . . . . . . . . . . . . . 149

7.7.2

Multiplication, Division, and Modulo Operators (Binary) . . . . . 149

7.7.3

Sign Operators (Unary) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150

7.7.4

Shift Operators (Binary). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150

7.7.5

Bitwise Operators (Binary) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151

7.7.6

Bitwise Operators (Unary) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151

7.7.7

Logical Operators (Unary) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152

7.7.8

Relational Operators (Binary) . . . . . . . . . . . . . . . . . . . . . . . . . . . 152

7.7.9

Memory PAGE Operator (Unary) . . . . . . . . . . . . . . . . . . . . . . . . 153

7.7.10

Force Operator (Unary) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153

7.8

Expressions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155

7.8.1

Absolute Expressions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156

7.8.2

Simple Relocatable Expression . . . . . . . . . . . . . . . . . . . . . . . . . . 157

7.9

Translation Limits. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158