VEC_LVSL(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 first element of the result vector is the sum of ARG1 and the address of ARG2, modulo 16. Each successive element contains the previous element's value plus 1.