ASMA231E Array index expression must not be relocatable
Explanation
The address operand of an array indexing instruction is similar in form to a normal indexed address expression, but a relocatable address must not be used if the element size is greater than one. The displacement value must instead be specified as an absolute value, with an explicit base register containing the array origin address if required. This is because the displacement value is used to adjust the array index, modifying the resulting address in units of the array element size, rather than being a displacement in bytes within an area.
System action
The relocatable address is ignored.
Programmer response
Specify the displacement as an absolute value, with an explicit base register containing the array origin if required.
Severity
8