beautypg.com

61 ld (load word data in memory to register), Ld (load word data in memory to register) – FUJITSU FR family 32-bit microcontroller instruction manuel CM71-00101-5E User Manual

Page 179

background image

155

CHAPTER 7 DETAILED EXECUTION INSTRUCTIONS

7.61

LD (Load Word Data in Memory to Register)

Loads the word data at memory address "R15" to dedicated register "Rs", and adds 4 to
the value of "R15".
If the number of a non-existent register is given as parameter "Rs", the read value "Ri"
will be ignored.
If "Rs" is designated as the system stack pointer (SSP) or user stack pointer (USP), and
that pointer is indicating "R15" [the "S" flag in the condition code register (CCR) is set
to "0" to indicate the "SSP", and to "1" to indicate the "USP"], the last value remaining
in "R15" will be the value read from memory.

LD (Load Word Data in Memory to Register)

Assembler format:

LD @ R15 +, Rs

Operation:

(R15)

Rs

R15 + 4

R15

Flag change:

N, Z, V, and C: Unchanged

Execution cycles:

b cycle(s)

Instruction format:

N

Z

V

C

MSB

LSB

0

0

0

0

0

1

1

1

1

0

0

0

Rs