Syntax
LFM[<cond>] <first>,<num>,<address>
Operation
Loads a number of FP registers from the address
<first> is the lowest-numbered FP register to load.
<num> is the number of (consecutive) registers to load (1-4).
<address>, unlike LDM and STF cannot be an immediate address.
Note that there is no precision character, as this instruction writes the
registers using an internal format. For this reason, you can only load
registers with LFM if they had been saved with SFM.
Each FP register stored uses 12 bytes.
The "stack" form (ie. Full Descending etc) can also be used, but the only
legal stack forms are Full Descending (FD) or Empty Ascending (EA).
In this form, the offset is automatically computed.
NB LFM is not available on all versions of the FPE; it is also not
available on some FPA hardware.
(see SFM, LDF, STF)
Examples
LFM f0,3,[R13],#48 ; Load register F0-F2 to the address in R13, &
; update R13 accordingly.
LFMFD f5,3,[R13]! ; Save registers F5-F7 to R13 & update R13.
|
|
|