Motorola HC12 User Manual

Page 15

Advertising
background image

Table of Contents

MCUez HC12 Assembler

User’s Manual

MOTOROLA

Table of Contents

15

11.6

Using Direct Addressing Mode to Access Symbols . . . . . . . . . . . . . 233

11.6.1

Using Direct Addressing Mode to Access

External Symbols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233

11.6.2

Using Direct Addressing Mode to Access

Exported Symbols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233

11.6.3

Defining Symbols in the Direct Page. . . . . . . . . . . . . . . . . . . . . . 234

11.6.4

Using a Force Operator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234

11.6.5

Using SHORT Sections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235

11.7

Directly Generating an .abs File . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235

11.7.1

Assembler Source File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236

11.7.2

Assembling and Generating the Application . . . . . . . . . . . . . . . . 238

Section 12. Assembler Messages

12.1

Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243

12.2

Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245

12.2.1

Warning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245

12.2.2

Error . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245

12.2.3

Fatal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 246

12.3

Message Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 246

12.3.1

A1000: Conditional Directive not Closed . . . . . . . . . . . . . . . . . . 247

12.3.2

A1001: Conditional Else not Allowed Here . . . . . . . . . . . . . . . . 248

12.3.3

A1051: Zero Division in Expression . . . . . . . . . . . . . . . . . . . . . . 249

12.3.4

A1052: Right Parenthesis Expected. . . . . . . . . . . . . . . . . . . . . . . 249

12.3.5

A1053: Left Parenthesis Expected . . . . . . . . . . . . . . . . . . . . . . . . 250

12.3.6

A1054: References on Non-Absolute Objects Are not Allowed

When Options -FA1 or -FA2 Are Enabled . . . . . . . . . . . . . . . 251

12.3.7

A1101: Illegal Label: Label is Reserved . . . . . . . . . . . . . . . . . . . 252

12.3.8

A1103: Illegal Redefinition of Label . . . . . . . . . . . . . . . . . . . . . . 253

12.3.9

A1104: Undeclared User-Defined Symbol <symbolName> . . . . 254

12.3.10

A1201:Label <labelName> Referenced in Directive

ABSENTRY is not Defined in Code Segment . . . . . . . . . . . . 255

12.3.11

A2301: Label is Missing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 256

12.3.12

A2302: Macro Name is Missing . . . . . . . . . . . . . . . . . . . . . . . . . 256

12.3.13

A2303: ENDM is Illegal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 257

12.3.14

A2304: Macro Definition Within Definition . . . . . . . . . . . . . . . . 258

12.3.15

A2305: Illegal Redefinition of Instruction or Directive Name . . 259

Advertising