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:
NZVC
––––
MSB LSB
000001111000 Rs