130 ldm1 (load multiple registers) – FUJITSU FR family 32-bit microcontroller instruction manuel CM71-00101-5E User Manual
Page 272

248
CHAPTER 7 DETAILED EXECUTION INSTRUCTIONS
7.130
LDM1 (Load Multiple Registers)
The LDM1 instruction accepts registers in the range R8 to R15 as members of the
parameter "reglist" (See Table 7.130-1.).
Registers are processed in ascending numerical order.
If "R15" is specified in the parameter "reglist", the final contents of "R15" will be read
from memory.
■
LDM1 (Load Multiple Registers)
Assembler format:
LDM1 (reglist)
Operation:
The following operations are repeated according to the number of registers specified in the
parameter "reglist".
(R15)
→ Ri
R15 + 4
→ R15
Flag change:
N, Z, V, and C: Unchanged
Execution cycles:
If "n" is the number of registers specified in the parameter "reglist", the execution cycles
re
q
uired are as follows.
If n=0: 1 cycle
For other values of n: a (n – 1) + b + 1 cycles
Instruction format:
N
Z
V
C
–
–
–
–
MSB
LSB
1
0
0
0
1
1
0
1
reglist