Statements

An assembly-language program consists of a series of statements separated by a semicolon (;). Multiple statements may be on the same line.

To separate lines, use the standard line termination convention on the local host system, typically CR (carriage return) and LF (line feed). To separate elements within a statement, use the FF (form feed), VT (vertical tab), Space, or Tab that represent white space.

Comments are introduced by the sequence "//" and continue to the end of the line.  Comments are ignored by the assembler.

The assembler may place a limit on the length of an input line, but this limit must be no less than 256 characters.

The types of assembly-language statements are as follows:

The topics that follow detail each of the statement types, their components and syntax, and provide an example of each.