Next: META Instructions
Up: The Assembler 'as'
Previous: Command Line Parameter
The assembler reads lines with the following structure:
[Label:] [Mnemonic [, Argument]] [; Comment]
- Label
- A label starts with a character between 'a' and
'z'. The following characters can be either lower- or uppercase or
digits. The colon (':') is strictly required after the label.
- Mnemonic
- A mnemonic is either a valid
instruction or
Meta instruction. The characters in
this string have to be uppercase.
- Argument
- The argument is separated from the mnemonic by a
comma (','). See
Addressing Modes for the
format. As parameters are allowed symbolic names (e.g. labels) or
numbers. Numbers are decimal only.
- Comment
- The comment is started with a semicolon
(';'). Everything after this mark is ignored.
Every part in brackets is optional input.
Markus Hennecke
9/14/2003