Stm1 (Store Multiple Registers) - Fujitsu FR Family Instruction Manual

32-bit microcontroller
Hide thumbs Also See for FR Family:
Table of Contents

Advertisement

CHAPTER 7 DETAILED EXECUTION INSTRUCTIONS

7.132 STM1 (Store Multiple Registers)

The "STM1" instruction accepts registers in the range R8 to R15 as members of the
parameter "reglist" (See Table 7.132-1.).
Registers are processed in descending numerical order.
If "R15" is specified in the parameter "reglist", the contents of "R15" retained before the
instruction is executed will be written to memory.
■ STM1 (Store Multiple Registers)
Assembler format:
STM1 (reglist)
Operation:
The following operations are repeated according to the number of registers specified in the
parameter "reglist".
R15 – 4 → R15
Ri → (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
required are as follows.
a × n + 1 cycles
Instruction format:
Table 7.132-1 Bit Values and Register Numbers for "reglist" (STM1)
252
N
Z
V
C
MSB
1
0
0
0
Bit
Register
Bit
7
R8
6
R9
5
R10
4
R11
1
1
1
1
Register
3
R12
2
R13
1
R14
0
R15
LSB
reglist

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fr series

Table of Contents