beautypg.com

115 stres (store word data in resource to memory) – FUJITSU FR family 32-bit microcontroller instruction manuel CM71-00101-5E User Manual

Page 252

background image

228

CHAPTER 7 DETAILED EXECUTION INSTRUCTIONS

7.115

STRES (Store Word Data in Resource to Memory)

Transfers the word data at the resource on channel "u4" to the address indicated by "Ri".
Increments the value of "Ri" by 4.

STRES (Store Word Data in Resource to Memory)

Assembler format:

STRES #u4, @Ri+

Operation:

Resource on channel u4

(Ri)

Ri + 4

Ri

Flag change:

N, Z, V, and C: Unchanged

Execution cycles:

a cycle(s)

Instruction format:

Example:

STRES #8, @R2+

N

Z

V

C

MSB

LSB

1

0

1

1

1

1

0

1

u4

Ri

8

7 6 5 4

3

2 1

8

7 6 5 4

3

2 1

8

7 6 5 4

3

2 1

R2

ch.

8

Re

s

o

u

rce

ch.

8

Re

s

o

u

rce

x x x x

x x x x

12

3

4567

8

12

3

4567C

12

3

4567

8

12

3

4567C

1 2

3

4

5 6 7

8

R2

1 2

3

4

5 6 7 C

Memory

Memory

Before exec

u

tion

After exec

u

tion

In

s

tr

u

ction

b

it p

a

ttern : 1011 1101 1000 0010