VEC_LVSR(ARG1, ARG2)

Purpose

Returns a vector useful for aligning non-aligned data.

Class

Function

Argument type and attributes

ARG1
An INTENT(IN) integer.
ARG2
An INTENT(IN) integer of type INTEGER(1), INTEGER(2), INTEGER(4), or REAL(4).

Result type and attributes

The result is an UNSIGNED(1) vector.

Result value

The effective address is the sum of ARG1 and the address of ARG2, modulo 16. The first element of the result vector contains the value 16 minus the effective address. Each successive element contains the previous element's value plus 1.