Branch Instruction Without Delay Slot; Operation Of Branch Instruction Without Delay Slot - Fujitsu MB91460 SERIES FR60 User Manual

32-bit microcontroller
Table of Contents

Advertisement

Chapter 7 Branch Instruction

5.Branch Instruction without Delay Slot

5. Branch Instruction without Delay Slot
• Branch instruction without delay slot:
JMP @Ri
BRA label9
BC label9
BV label9
BLE label9

6. Operation of Branch Instruction without Delay Slot

Operation without delay slot executes instructions in the order of instructions and never executes
the instruction located in the next address where a branch instruction exists before branch.
• Example
;
Sequence of instruction
ADD
BRA:D
MOV
...
LABEL
ST
The number of execution cycles of branch instruction without delay slot is 2 cycles for branch and 1
cycle for no branch.
Unlike the branch instruction with delay slot where NOP is described because appropriate
instruction cannot be entered, it can increase efficiency of instruction code.
Select the operation with delay slot when valid instruction can be set in delay slot. Otherwise select
the operation without delay slot. This selection enables FR60 to satisfy both of execution rate and
code efficiency.
132
CALL label12
BNO label9
BNC label9
BNV label9
BGT label9
R1
R2
;
LABEL
; Branch instruction (without delay slot)
R2
R3
; Not to be executed.
R3
@R4 ; Branched instruction
CALL @Ri
RET
BEQ label9
BNE label9
BN label9
BP label9
BLT label9
BGE label9
BLS label9
BHI label9

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fr60Mb91460 series

Table of Contents