Operation Without Delay Slot - Fujitsu FR60 Hardware Manual

Hide thumbs Also See for FR60:
Table of Contents

Advertisement

3.6.2

Operation without Delay Slot

This section describes operation when operations without a delay slot are specified for
a branch instruction.
■ Instructions not Using a Delay Slot
The instructions below execute branch operations without a delay slot:
JMP
BRA
BC
BV
BLE
■ Operation without Delay Slot
In an operation without a delay slot, the instruction is executed by the order of the list.
Instruction immediately after the instruction is not executed before branch.
[Example]
;
LABEL :
A branch instruction without a delay slot is executed in two cycles if a branch occurs and in one cycle if no
branch occurs.
Since no appropriate instruction can be placed in the delay slot, branch instructions without a delay slot
result in more efficient instruction codes than branch instructions with a delay slot and with NOP specified.
For both optimal execution speed and code efficiency, select an operation with a delay slot if a valid
instruction can be placed in the delay slot; otherwise, select an operation without a delay slot.
@Ri
CALL
label9
BNO
label9
BNC
label9
BNV
label9
BGT
List of instructions
ADD
R1,
R2,
BRA
LABEL
MOV
R2,
R3,
...
ST
R3,
@R4
label12
CALL @Ri
label9
BEQ
label9
label9
BN
label9
label9
BLT
label9
label9
BLS
label9
;
;
Branch instruction (without a delay slot)
;
Not executed
;
Branch destination
RET
BNE
label9
BP
label9
BGE
label9
BHI
label9
71

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb91350a series

Table of Contents