Next: CRIS-Syntax, Previous: CRIS-Expand, Up: CRIS-Dependent
Some symbols are defined by the assembler. They're intended to be used in conditional assembly, for example:
.if ..asm.arch.cris.v32
code for CRIS v32
.elseif ..asm.arch.cris.common_v10_v32
code common to CRIS v32 and CRIS v10
.elseif ..asm.arch.cris.v10 | ..asm.arch.cris.any_v0_v10
code for v10
.else
.error "Code needs to be added here."
.endif
These symbols are defined in the assembler, reflecting command-line options, either when specified or the default. They are always defined, to 0 or 1.
..asm.arch.cris.any_v0_v10..asm.arch.cris.common_v10_v32..asm.arch.cris.v10..asm.arch.cris.v32Speaking of symbols, when a symbol is used in code, it can have a suffix modifying its value for use in position-independent code. See CRIS-Pic.