Fujitsu F2MC-16LX Hardware Manual page 563

Mb90470 series 16-bit microcontroller
Hide thumbs Also See for F2MC-16LX:
Table of Contents

Advertisement

Table B.8-14 19 Branch 2 instructions
Mnemonic
CBNE
A,#imm8,rel
3
CWBNE
A,#imm16,rel
4
CBNE
ear,#imm8,rel
4
CBNE
eam,#imm8,rel *9
4+
CWBNE
ear,#imm16,rel
5
CWBNE
eam,#imm16,rel*9
5+
DBNZ
ear,rel
3
DBNZ
eam,rel
3+
DWBNZ
ear,rel
3
DWBNZ
eam,rel
3+
INT
#vct8
2
INT
addr16
3
INTP
addr24
4
INT9
1
RETI
1
LINK
#imm8
2
UNLINK
1
RET
*10
1
RETP
*11
1
*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 "Execution cycle counts in each addressing mode" and Table B.5-2 "Cycle
count correction values for counting execution cycles" for information on (a) to (d) in the
table.
#
RG
B
*1
0
0
Branch on byte (A) not equal to imm8
*1
0
0
Branch on word (A) not equal to imm16
*2
1
0
Branch on byte (ear) not equal to imm8
*3
0
(b)
Branch on byte (eam) not equal to imm8
*4
1
0
Branch on word (ear) not equal to imm16
*3
0
(c)
Branch on word (eam) not equal to imm16
*5
2
0
Branch on byte (ear) = (ear) - 1, (ear) not equal to 0
*6
2
2 x (b) Branch on byte (eam) = (eam) - 1, (eam) not equal to 0
*5
2
0
Branch on word (ear) = (ear) - 1, (ear) not equal to 0
*6
2
2 x (c) Branch on word (eam) = (eam) - 1, (eam) not equal to 0
20
0
8 x (c) Software interrupt
16
0
6 x (c) Software interrupt
17
0
6 x (c) Software interrupt
20
0
8 x (c) Software interrupt
*8
0
*7
Return from interrupt
6
0
(c)
Saves the old frame pointer in the stack upon entering the
function, then sets the new frame pointer and reserves the
local pointer area.
5
0
(c)
Recovers the old frame pointer from the stack upon exiting the
function.
4
0
(c)
Return from subroutine
6
0
(d)
Return from subroutine
APPENDIX B Instructions
Operation
L
A
I
S T N Z V C R
H
H
M
W
-
-
-
-
-
*
*
*
*
-
-
-
-
-
-
*
*
*
*
-
-
-
-
-
-
*
*
*
*
-
-
-
-
-
-
*
*
*
*
-
-
-
-
-
-
*
*
*
*
-
-
-
-
-
-
*
*
*
*
-
-
-
-
-
-
*
*
*
-
-
-
-
-
-
-
*
*
*
-
*
-
-
-
-
-
*
*
*
-
-
-
-
-
-
-
*
*
*
-
*
-
-
R S
-
-
-
-
-
-
-
-
R S
-
-
-
-
-
-
-
-
R S
-
-
-
-
-
-
-
-
R S
-
-
-
-
-
-
-
-
*
*
*
*
*
*
*
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
547

Advertisement

Table of Contents
loading

Table of Contents