as: ARC-Chars
1
1 9.3.2.1 Special Characters
1 ..........................
1
1 '%'
1 A register name can optionally be prefixed by a '%' character. So
1 register '%r0' is equivalent to 'r0' in the assembly code.
1
1 '#'
1 The presence of a '#' character within a line (but not at the start
1 of a line) indicates the start of a comment that extends to the end
1 of the current line.
1
1 _Note:_ if a line starts with a '#' character then it can also be a
1 logical line number directive (⇒Comments) or a preprocessor
1 control command (⇒Preprocessing).
1
1 '@'
1 Prefixing an operand with an '@' specifies that the operand is a
1 symbol and not a register. This is how the assembler disambiguates
1 the use of an ARC register name as a symbol. So the instruction
1 mov r0, @r0
1 moves the address of symbol 'r0' into register 'r0'.
1
1 '`'
1 The '`' (backtick) character is used to separate statements on a
1 single line.
1
1 '-'
1 Used as a separator to obtain a sequence of commands from a C
1 preprocessor macro.
1