Fujitsu MB91319 Series Hardware Manual page 737

Fr60 32-bit microcontroller
Table of Contents

Advertisement

■ 20-Bit Normal Branch Macro Instructions
Table I.2-14 20-Bit Normal Branch Macro Instructions
Mnemonic
*CALL20 label20,Ri
*BRA20
label20,Ri
*BEQ20
label20,Ri
*BNE20
label20,Ri
*BC20
label20,Ri
*BNC20
label20,Ri
*BN20
label20,Ri
*BP20
label20,Ri
*BV20
label20,Ri
*BNV20
label20,Ri
*BLT20
label20,Ri
*BGE20
label20,Ri
*BLE20
label20,Ri
*BGT20
label20,Ri
*BLS20
label20,Ri
*BHI20
label20,Ri
[Reference 1] CALL20
1) If label20-PC-2 is between -0x800 and +0x7fe, create an instruction as shown below:
CALL
label12
2) If label20-PC-2 is outside the range in 1) or contains an external reference symbol, create an instruction as shown below:
LDI:20 #label20,Ri
CALL
@Ri
[Reference 2] BRA20
1) If label20-PC-2 is between -0x100 and +0xfe, create an instruction as shown below:
BRA
label9
2) If label20-PC-2 is outside the range in 1) or contains an external reference symbol, create an instruction as shown below:
LDI:20 #label20,Ri
JMP
@Ri
[Reference 3] Bcc20
1) If label20-PC-2 is between -0x100 and +0xfe, create an instruction as shown below:
Bcc
label9
2) If label20-PC-2 is outside the range in 1) or contains an external reference symbol, create an instruction as shown below:
Bxcc
false
xcc is the opposite condition of cc.
LDI:20 #label20,Ri
JMP
@Ri
false:
Operation
Address of the next instruction
label20
PC
label20
PC
if(Z==1) then label20
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
RP,
Ri: Temporary register (See Reference 1)
Ri: Temporary register (See Reference 2)
Ri: Temporary register (See Reference 3)
APPENDIX I Instruction Lists
Remarks
715

Advertisement

Table of Contents
loading

Table of Contents