13.07.2015 Views

TASKING VX-toolset for ARM User Guide

TASKING VX-toolset for ARM User Guide

TASKING VX-toolset for ARM User Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Assembly LanguageCharacter Description++ String concatenation operator[ ] Load and store addressing mode3.3. Operands of an Assembly InstructionIn an instruction, the mnemonic is followed by zero, one or more operands. An operand has one of thefollowing types:OperandsymbolregisterexpressionaddressDescriptionA symbolic name as described in Section 3.4, Symbol Names. Symbols can also occurin expressions.Any valid register as listed in Section 3.5, Registers.Any valid expression as described in Section 3.6, Assembly Expressions.A combination of expression, register and symbol.Addressing modesThe <strong>ARM</strong> assembly language has several addressing modes.These are described in detail in the target'score Architecture Reference Manual.3.4. Symbol Names<strong>User</strong>-defined symbolsA user-defined symbol can consist of letters, digits and underscore characters (_). The first charactercannot be a digit. The size of an identifier is only limited by the amount of available memory. The caseof these characters is significant. You can define a symbol by means of a label declaration or an equateor set directive.Predefined preprocessor symbolsThese symbols start and end with two underscore characters, __symbol__, and you can use them in yourassembly source to create conditional assembly. See Section 3.4.1, Predefined Preprocessor Symbols.LabelsSymbols used <strong>for</strong> memory locations are referred to as labels. It is allowed to use reserved symbols aslabels as long as the label is followed by a colon or starts at the first column.85

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!