Fujitsu MB91150 Series Hardware Manual page 495

32-bit microcontroller
Table of Contents

Advertisement

I Delayed branch instructions
Table E-14 Delayed branch instructions
Mnemonic
Type
JMP:D @Ri
CALL:D label12
CALL:D @Ri
RET:D
BRA:D
label9
BNO:D
label9
BEQ:D
label9
BNE:D
label9
BC:D
label9
BNC:D
label9
BN:D
label9
BP:D
label9
BV:D
label9
BNV:D
label9
BLT:D
label9
BGE:D
label9
BLE:D
label9
BGT:D
label9
BLS:D
label9
BHI:D
label9
Notes:
The assembler performs calculations as shown below and sets values in the rel11 and rel8 fields of the
hardware specifications: (label12-PC-2)/2 --> rel11 and (label9-PC-2)/2 --> rel8. label12 and label9 are
signed labels.
In a delayed branch, a branch will occur after the next instruction (delayed slot) is executed.
The instructions that can be placed in delayed slots are all one-cycle, a-cycle, b-cycle, c-cycle, and d-cycle
instructions. Multiple-cycle instructions cannot be placed in delayed slots.
OP
CYCLE
E
9F-0
1
F
D8
1
E
9F-1
1
E
9F-2
1
D
F0
1
D
F1
1
D
F2
1
D
F3
1
D
F4
1
D
F5
1
D
F6
1
D
F7
1
D
F8
1
D
F9
1
D
FA
1
D
FB
1
D
FC
1
D
FD
1
D
FE
1
D
FF
1
NZVC
Operation
----
Ri --> PC
----
PC+4 --> RP ,
PC+2+(label12-PC-2) --> PC
----
PC+4 --> RP ,Ri --> PC
----
RP --> PC
----
PC+2+(label9-PC-2) --> PC
----
No branch
----
if(Z==1) then
PC+2+(label9-PC-2) --> PC
----
s/Z==0
----
s/C==1
----
s/C==0
----
s/N==1
----
s/N==0
----
s/V==1
----
s/V==0
----
s/V xor N==1
----
s/V xor N==0
----
s/(V xor N) or Z==1
----
s/(V xor N) or Z==0
----
s/C or Z==1
----
s/C or Z==0
APPENDIX E Instruction Lists
Remarks
-
-
Return
-
479

Advertisement

Table of Contents
loading

Table of Contents