322
Appendix E Instruction List
■
20-bit Normal Divergence Macro Instruction
Table E-16 20-bit Normal divergence macro instruction
Mnemonic Operation Remark
*CALL20 label20,Ri Address of the following instruction-->RP,
label20
→
PC
Ri: Temporary register (Refer to reference 1.)
*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
label20
→
PC
if(Z==1)thenlabel20→
PC
↑
s/Z==0
↑
s/C==1
↑
s/C==0
↑
s/N==1
↑
s/N==0
↑
s/V==1
↑
s/V==0
↑
s/VxorN==1
↑
s/VxorN==0
↑
s/(VxorN)orZ==1
↑
s/(VxorN)orZ==0
↑
s/CorZ==1
↑
s/CorZ==0
Ri: Temporary register (Refer to reference 2.)
Ri: Temporary register (Refer to reference 3.)
↑
↑
↑
↑
↑
↑
↑
↑
↑
↑
↑
↑
↑
Reference 1: CALL20
1) When label20-PC-2 is - 0x100 - + 0xfe, the instruction is generated as follows.
CALL label12
2) When label20-PC-2 is outside the area as per 1) and includes an external reference symbol, the command is generated as
follows.
LDI:20 #label20,Ri
CALL @Ri
Reference 2: BRA20
1) When label20-PC-2 is - 0x100 - + 0xfe, the instruction is generated as follows.
BRA label9
2) When label20-PC-2 is outside the area as per 1) and includes an external reference symbol, the command is generated as
follows.
LDI:20 #label20,Ri
JMP @Ri
Reference 3: Bcc20
1) When label20-PC-2 is - 0x100 - + 0xfe, the instruction is generated as follows.
Bcc label9
2) When label20-PC-2 is outside the area as per 1) and includes an external reference symbol, the command is generated as
follows.
Bxcc false xcc is a contradiction condition of cc.
LDI:20 #label20,Ri
JMP @Ri
false: