Fujitsu FR30 Computer Hardware User Manual


 
49
2.7 Instruction Overview
Ri that is referenced by the JMP:D @Ri or CALL:D @Ri instruction is not affected even
when the instruction in the delay slot updates the Ri.
[Example]
RP that is referenced by the RET:D instruction is not affected even when the instruction in
the delay slot updates the RP.
[Example]
The flag that is referenced by the Bcc:D rel instruction is not affected by the instruction in
the delay slot.
[Example]
When RP is referenced by the instruction in the delay slot of the CALL:D instruction, the
data updated by the CALL:D instruction is read.
[Example]
LDI:32 #Label, R0
JMP:D @R0 ; Branches to Label.
LDI:8 #0, R0 ; Does not affect the branch destination
address.
:
RET:D ; Branches to the address indicated by the RP that
is set previously.
MOV R8, RP ; Does not affect the return operation.
:
ADD #1, R0 ; Changes the flag.
BC:D Overflow ; Branches according to the execution result of the
above instruction.
ANDCCR #0 ; Updates the flag which is not referenced by the
above branch instruction.
:
CALL:D Label ; Updates RP and branches.
MOV RP, R0 ; Transfers the RP; the execution result of
the above CALL:D instruction.
: