3.2. Assembler Significant Characters. Altium TriCore
Reklāma
Reklāma
TASKING VX-toolset for TriCore User Guide
Apart from the assembly statements as described above, you can put a so-called 'control line' in your assembly source file. These lines start with a $ in the first column and alter the default behavior of the assembler.
$control
For more information on controls see
Section 3.9, Assembler Directives and Controls
.
3.2. Assembler Significant Characters
You can use all ASCII characters in the assembly source both in strings and in comments. Also the extended characters from the ISO 8859-1 (Latin-1) set are allowed.
Some characters have a special meaning to the assembler. Special characters associated with expression
evaluation are described in Section 3.6.3, Expression Operators
. Other special assembler characters are:
*
#
'
@
++
[ ]
”
\
?
%
^
;
Character Description
Start of a comment
Line continuation character or macro operator: argument concatenation
Macro operator: return decimal value of a symbol
Macro operator: return hex value of a symbol
Macro operator: override local label
Macro string delimiter or quoted string
.DEFINE
expansion character
String constants delimiter
Start of a built-in assembly function
Location counter substitution
Constant number
String concatenation operator
Substring delimiter
3.3. Operands of an Assembly Instruction
In an instruction, the mnemonic is followed by zero, one or more operands. An operand has one of the following types:
Operand
symbol register expression address
Description
A symbolic name as described in
Section 3.4, Symbol Names . Symbols can also occur
in expressions.
Any valid register as listed in
Any valid expression as described in
Section 3.6, Assembly Expressions
.
A combination of expression, register and symbol.
88
Lejupielādēt
Reklāma