| |||
| Home > Directives Reference > Symbol definition directives > RLIST | |||
The RLIST (register list) directive gives a name
to a set of general-purpose registers.
nameRLIST {list-of-registers}
where:
nameis the name to be given to the set of registers. cannot
be the same as any of the predefined names.name
list-of-registers is a comma-delimited list of register names and register ranges. The register list must be enclosed in braces.
Use RLIST to give a name to a set of registers
to be transferred by the LDM or STM instructions.
LDM and STM always put the lowest
physical register numbers at the lowest address in memory, regardless
of the order they are supplied to the LDM or STM instruction.
If you have defined your own symbolic register names it can be less
apparent that a register list is not in increasing register order.
Use the --diag_warning 1206 assembler option
to ensure that the registers in a register list are supplied in
increasing register order. If registers are not supplied in increasing
register order, a warning is issued.