beautypg.com

69 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 189

background image

165

CHAPTER 7 DETAILED EXECUTION INSTRUCTIONS

7.69

ST (Store Word Data in Register to Memory)

Loads the word data in "Ri" to memory address "Rj".

ST (Store Word Data in Register to Memory)

Assembler format:

ST Ri, @Rj

Operation:

Ri

(Rj)

Flag change:

N, Z, V, and C: Unchanged

Execution cycles:

a cycle(s)

Instruction format:

Example:

ST R3, @R2

N

Z

V

C

MSB

LSB

0

0

0

1

0

1

0

0

Rj

Ri

R2

12345678

1 2 3 4

5 6 7 8

8 7 6 5

4 3 2 1

R2

R3

R3

x x x x

x x x x

8 7 6 5

4 3 2 1

1 2 3 4

5 6 7 8

12345678

8 7 6 5

4 3 2 1

Memory

Memory

Before execution

After execution

Instruction bit pattern : 0001 0100 0010 0011