O'Reilly logo

Embedded Systems and Computer Architecture by Graham R Wilson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix D

The GDS assembler and linker

1 Format of the assembly source program

An assembler statement may have as many as four fields. The general format of a statement is:

image

The label and comment fields are optional. The operator field may be an assembler directive or an assembly mnemonic. Some operators do not require an operand, e.g. cpl.

1.1 Label field

If present, a label must be the first field in a source statement and must be terminated by a colon (:). Multiple labels may appear on successive lines. For example:

image

The legal characters ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required