| |||
| Home > Vector Floating-point Programming > VFP instructions > FLD and FST | |||
Floating-point load and store.
FLD<precision>{cond}Fd, [Rn{, #offset}]
FST<precision>{cond}Fd, [Rn{, #offset}]
FLD<precision>{cond}Fd,label
FST<precision>{cond}Fd,label
where:
<precision>must be either S for single-precision,
or D for double-precision.
condis an optional condition code (see VFP and condition codes).
Fdis the VFP register to be loaded or saved. The precision
of must match the
precision specified in Fd<.precision>
Rnis the ARM register holding the base address for the transfer.
offsetis an optional numeric expression. It must evaluate to a numeric constant at assembly time. The value must be a multiple of 4, and lie in the range –1020 to +1020. The value is added to the base address to form the address used for the transfer.
labelis a program-relative expression. See Register-relative and program-relative expressions for more information.
must
be within ±1KB of the current instruction.label
The FLD instruction loads a floating-point register
from memory. The FST instruction saves the contents
of a floating-point register to memory.
One word is transferred if < is precision>S.
Two words are transferred if < is precision>D.