| |||
| Home > Connection Properties Reference > Memory mapping Advanced_Information settings reference > Concat_Register | |||
You can define a concatenated register that is built up using specific bits from other registers. Concatenated registers are usually used only for memory mapping, but you can also use them for control and status. The recommended approach is to name two registers and then shift and mask them into the new register. If you want to concatenate parts from more than two registers, you can build them up in stages.
The Concat_Register group includes a base
group called Default, but typically you create
one or more named concatenated register groups. The group includes
the following settings:
Name of the register to be used as the source for the low part of the concatenated register.
This can be the name of another concatenated register.
Amount to shift
the source register specified by Low_name.
Specify a negative value for left shift.
The mask to be
applied to the source register specified by Low_name.
The mask is applied after the shift operation.
Name of the register to be used as the source for the high part of the concatenated register.
This can be the name of another concatenated register.
Amount to shift
the source register specified by High_name.
Specify a negative value for left shift.
The mask to
be applied to the source register specified by High_name.
The mask is applied after the shift operation.
Length of the concatenated register, in memory units. The default is 4.
An explicit type for the register. If you do not specify the type, the default is the signed scalar C type based on the register size.
Enumeration name
to show values in the Registers view, derived from Register_enum group.
Optional name for showing in Registers view. If no name is specified here, then the concatenated register group name is displayed.
Suggested naming convention for memory map related settings groups
the following in the RealView Debugger User Guide: