Fujitsu FR81 Computer Hardware User Manual


 
FR81 Family
292 FUJITSU MICROELECTRONICS LIMITED CM71-00105-1E
CHAPTER 7 DETAILED EXECUTION INSTRUCTIONS
7.104
7.104 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.
Assembler Format
LD @R15+, Rs
Operation
(R15) Rs
R15 + 4 R15
If TBR, SSP, or ESR is specified in user mode or if a non-existing register number is specified in user
mode, an invalid instruction exception (system-only register access) is generated.
There is no restriction in privilege mode. If a number without a dedicated register is specified for Rs in
privilege mode, a value being read from memory is abandoned.
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.
Flag Change
N, Z, V, C: Unchanged.
Classification
Memory Load instruction, Instruction with delay slot, FR81 updating
Execution Cycles
b cycle
NZVC
----