Microprocessor Design and the ARM

Structure of an ARM Instruction

All ARM instructions conform to the following structural layout:

label <space> opcode <space> operands <space> ; comment

Each field (label, opcode, operands and comment) must be separated by one or more <space> elements. A <space> element can be an actual space character (from your space bar) or a tab.

If there is no label, there must be a <space> element before the actual instruction (i.e. the opcode and any operands.)

The semicolon character indicates the start of a comment, which is terminated by the end of the line.

All sections are optional. Blank lines will be accepted by the assembler, making it easier to improve code clarity.