beautypg.com

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

Page 251

background image

227

CHAPTER 7 DETAILED EXECUTION INSTRUCTIONS

7.114

LDRES (Load Word Data in Memory to Resource)

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

LDRES (Load Word Data in Memory to Resource)

Assembler format:

LDRES @Ri+, #u4

Operation:

(Ri)

Resource on channel u4

Ri + 4

Ri

Flag change:

N, Z, V, and C: Unchanged

Execution cycles:

a cycle(s)

Instruction format:

Example:

LDRES @R2+, #8

N

Z

V

C

MSB

LSB

1

0

1

1

1

1

0

0

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 1100 1000 0010