AARM User's Guide

Discontinued

EXTERN Assembler Statement

Arguments
EXTERN class (symbol <[>, symbol ...<]>)
Description

The EXTERN statement (which may appear anywhere in the assembler source file) specifies symbols that the current source file uses but which are defined in other object modules. The module where the symbols are defined must export them using PUBLIC statements. The EXTERN statement specifies the symbol by class.

Following is a list of valid classs:

typeDescription
ARMA symbol defined in 32-bit or ARM code memory.
CODE16A symbol defined in 16-bit or THUMB code memory.
CODE32A symbol defined in 32-bit or ARM code memory.
CONSTA symbol defined in CONST memory.
DATAA symbol defined in DATA memory.
THUMBA symbol defined in 16-bit or THUMB code memory.

The linker resolves all external symbols.

See Also

EXTRN, PUBLIC

Example

None.