beautypg.com

72 st (store word data in register to memory), St (store word data in register to memory) – FUJITSU FR family 32-bit microcontroller instruction manuel CM71-00101-5E User Manual

Page 192

background image

168

CHAPTER 7 DETAILED EXECUTION INSTRUCTIONS

7.72

ST (Store Word Data in Register to Memory)

Loads the word data in "Ri" to memory address "(R15 + u4 × 4)".
The value "u4" is an unsigned calculation.

ST (Store Word Data in Register to Memory)

Assembler format:

ST Ri, @ (R15, udisp6)

Operation:

Ri

(R15 + u4 × 4)

Flag change:

N, Z, V, and C: Unchanged

Execution cycles:

a cycle(s)

Instruction format:

Example:

ST R3, @ (R15, 4)

N

Z

V

C

MSB

LSB

0

0

0

1

0

0

1

1

u4

Ri

12345678

R3

R3

8 7 6 5

4 3 2 1

8 7 6 5

4 3 2 1

12345678

1234567C

1234567C

1 2 3 4

5 6 7 8

8 7 6 5

4 3 2 1

R15

1 2 3 4

5 6 7 8

R15

Instruction bit pattern :

0001 0011 0001 0011

x x x x

x x x x

Memory

Memory

Before execution

After execution