VEC_LDE(ARG1, ARG2)

Purpose

Loads an element from a given memory address into a vector.

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 a vector containing elements of the same type as ARG2.

Result value

The effective address is the sum of ARG1 and the address of ARG2, truncated to a multiple of the size in bytes of an element of the result vector. The contents of memory at the effective address are loaded into the result vector at the byte offset corresponding to the four least significant bits of the effective address. The remaining portions of the result vector are undefined.