Assembler Syntax

Syntax:
The format of assembler language is somewhat free-form.

The rules are:

Labels, if present, must begin in position 1T

he operation code (OPCODE) must be separated from the label by at least 1 space

The operands must be separated from the OPCODE by at least 1 space

Comments must be separated from operands by at least 1 space

By convention, and a carry over from the early days of assembler language:

Labels begin in column 1OPCODEs begin in column 10

Operands begin in column 16Comments begin in column 35 or 40

Make certain there is a space between the label, opcode, operand, and comment

To continue an assembler statement:Place a non-blank character in position 72

Continue on the next line beginning in position 16

Any statement that has an asterisk (*) in column 1 is a comment statement