APPENDIX A Instruction Lists
Table A.2-11 Non-delayed Branching Instructions (23 Instructions)
Mnemonic
Format
JMP @Ri
CALL label12
CALL @Ri
RET
INT #u8
INTE
RETI
BNO label9
BRA label9
BEQ label9
BNE label9
BC
label9
BNC label9
BN
label9
BP
label9
BV
label9
BNV label9
BLT
label9
BGE label9
BLE label9
BGT label9
BLS label9
BHI
label9
Notes:
• The field "rel8" in the TYPE-D instruction format and the field "rel11" in the TYPE-F format have
the following relation to the values "label9" and "label12" in assembly notation.
→
label9
label12
• The value "2/1" in the cycle(CYC) column indicates "2" cycles if branching, "1" if not branching.
• It is necessary to set the S flag to "0" for RETI execution.
270
OP
CYC
E
97-0
2
F
D0
2
E
97-1
2
E
97-2
2
D
1F
3+3a
E
9F-3
3+3a
E
97-3
2+2a
D
E1
1
D
E0
2
D
E2
2/1
D
E3
2/1
D
E4
2/1
D
E5
2/1
D
E6
2/1
D
E7
2/1
D
E8
2/1
D
E9
2/1
D
EA
2/1
D
EB
2/1
D
EC
2/1
D
ED
2/1
D
EE
2/1
D
EF
2/1
rel8=(label9 – PC – 2)/2
→
rel11=(label12 – PC – 2)/2
FLAG
NZVC
Ri → PC
– – – –
PC+2 → RP ,PC+2+rel11×2 → PC
– – – –
PC+2 → RP, Ri → PC
– – – –
RP → PC
– – – –
SSP–=4,PS → (SSP),SSP–=4,PC+2 → (SSP),
– – – –
0 → I flag, 0 → S flag,
(TBR+3FC–u8×4) → PC
SSP–=4,PS → (SSP),SSP–=4,PC+2 → (SSP),
– – – –
0 → S flag, 4 → ILM,
(TBR+3D8–u8×4) → PC
(R15) → PC,R15+=4,(R15) → PS,R15+=4
CCCC
– – – –
No branch
PC+2+rel8×2 → PC
– – – –
PC+2+rel8×2 → PC if Z==1
– – – –
PC+2+rel8×2 → PC if Z==0
– – – –
PC+2+rel8×2 → PC if C==1
– – – –
PC+2+rel8×2 → PC if C==0
– – – –
PC+2+rel8×2 → PC if N==1
– – – –
PC+2+rel8×2 → PC if N==0
– – – –
PC+2+rel8×2 → PC if V==1
– – – –
PC+2+rel8×2 → PC if V==0
– – – –
PC+2+rel8×2 → PC if V xor N==1
– – – –
PC+2+rel8×2 → PC if V xor N==0
– – – –
PC+2+rel8×2 → PC if (V xor N) or Z==1
– – – –
PC+2+rel8×2 → PC if (V xor N) or Z==0
– – – –
PC+2+rel8×2 → PC if C or Z==1
– – – –
PC+2+rel8×2 → PC if C or Z==0
– – – –
Operation
Remarks
Return