Assembler Syntax
Introduction
MCUez HC12 Assembler User’s Manual
MOTOROLA Assembler Syntax 119
7.2 Introduction
An assembler source program is a sequence of source statements. Each source
statement is coded on one line of text and can be a:
Comment line
Source line
7.3 Comment Line
A comment can occupy an entire line to explain the purpose and usage of a
block of statements or to describe an algorithm. A comment line contains a
semicolon followed by text. Comments are included in the assembly listing, but
are not significant to the assembler.
An empty line is also considered to be a comment line.
Example:
;This is a comment line
7.4 Source Line
Each source statement includes one or more of four fields:
1. A label
2. An operation field
3. One or several operands
4. A comment
Characters on the source line are case insensitive. Directives and instructions
are also case insensitive. Symbols are case sensitive except when CI (option
specifying case insensitivity for label names) is activated.