Crossware

Table of Contents        Previous topic       Next topic       

LINKER->Linker Scripts->Linker Script Language->Assignment Statements

An assignment statement assigns the value of an expression to an identifier.

The special identifier . (dot) when used within the SECTIONS block represents the current run-time location.  Assignment to . changes the current run-time location.

The assignment operators = assigns the value of the right hand side to the identifier.

The assignment operators += assigns the value of the right hand side plus the value of the identifier to the identifier.

An assignment statement must be terminated with a semicolon.