Fujitsu F2MCTM-16LX Hardware Manual page 626

16-bit microcontroller
Table of Contents

Advertisement

APPENDIX
Table B.8-14 19 Branch 2 Instructions
Mnemonic
CBNE
A,#imm8,rel
CWBNE
A,#imm16,rel
CBNE
ear,#imm8,rel
CBNE
eam,#imm8,rel *9
CWBNE
ear,#imm16,rel
CWBNE
eam,#imm16,rel*9
DBNZ
ear,rel
DBNZ
eam,rel
DWBNZ
ear,rel
DWBNZ
eam,rel
INT
#vct8
INT
addr16
INTP
addr24
INT9
RETI
LINK
#imm8
UNLINK
RET
*10
RETP
*11
*1: 5 when a branch is made; otherwise, 4
*2: 13 when a branch is made; otherwise, 12
*3: 7+(a) when a branch is made; otherwise, 6+(a)
*4: 8 when a branch is made; otherwise, 7
*5: 7 when a branch is made; otherwise, 6
*6: 8+(a) when a branch is made; otherwise, 7+(a)
*7: 3 x (b) + 2 x (c) when jumping to the next interruption request; 6 x (c) when returning from the current interruption
*8: 15 when jumping to the next interruption request; 17 when returning from the current interruption
*9: Do not use RWj+ addressing mode with a CBNE or CWBNE instruction.
*10: Return from stack (word)
*11: Return from stack (long word)
Note:
See Table B.5-1 and Table B.5-2 for information on (a) to (d) in the table.
610
#
RG
B
3
*1
0
0
Branch on byte (A) not equal to imm8
4
*1
0
0
Branch on word (A) not equal to imm16
4
*2
1
0
Branch on byte (ear) not equal to imm8
4+
*3
0
(b)
Branch on byte (eam) not equal to imm8
5
*4
1
0
Branch on word (ear) not equal to imm16
5+
*3
0
(c)
Branch on word (eam) not equal to imm16
3
*5
2
0
Branch on byte (ear) = (ear) - 1, (ear) not equal to 0
3+
*6
2
2 x (b) Branch on byte (eam) = (eam) - 1, (eam) not equal to 0
3
*5
2
0
Branch on word (ear) = (ear) - 1, (ear) not equal to 0
3+
*6
2
2 x (c) Branch on word (eam) = (eam) - 1, (eam) not equal to 0
2
20
0
8 x (c) Software interrupt
3
16
0
6 x (c) Software interrupt
4
17
0
6 x (c) Software interrupt
1
20
0
8 x (c) Software interrupt
1
*8
0
*7
Return from interrupt
Saves the old frame pointer in the stack upon entering the function,
2
6
0
(c)
then sets the new frame pointer and reserves the local pointer area.
Recovers the old frame pointer from the stack upon exiting the
1
5
0
(c)
function.
1
4
0
(c)
Return from subroutine
1
6
0
(d)
Return from subroutine
Operation
L
A
I
S T N Z V C R
H
H
M
W
-
-
-
-
-
*
*
*
*
-
-
-
-
-
-
*
*
*
*
-
-
-
-
-
-
*
*
*
*
-
-
-
-
-
-
*
*
*
*
-
-
-
-
-
-
*
*
*
*
-
-
-
-
-
-
*
*
*
*
-
-
-
-
-
-
*
*
*
-
-
-
-
-
-
-
*
*
*
-
*
-
-
-
-
-
*
*
*
-
-
-
-
-
-
-
*
*
*
-
*
-
-
R S
-
-
-
-
-
-
-
-
R S
-
-
-
-
-
-
-
-
R S
-
-
-
-
-
-
-
-
R S
-
-
-
-
-
-
-
-
*
*
*
*
*
*
*
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb90360 series

Table of Contents