Fujitsu MB90335 Series Hardware Manual page 592

16-bit microcontroller
Table of Contents

Advertisement

MB90335 Series
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 × (b) + 2 × (c) when jumping to the next interruption request; 6 × (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.
CM44-10137-6E
#
~
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
byte (ear) ← (ear) - 1, Branch on (ear) not equal to 0
3
*5
2
0
2 × (b) byte (eam) ← (eam) - 1, Branch on (eam) not equal to 0
3+
*6
2
word (ear) ← (ear) - 1, Branch on (ear) not equal to 0
3
*5
2
0
2 × (c) word (eam) ← (eam) - 1, Branch on (eam) not equal to 0
3+
*6
2
8 × (c) Software interrupt
2
20
0
6 × (c) Software interrupt
3
16
0
6 × (c) Software interrupt
4
17
0
8 × (c) Software interrupt
1
20
0
1
*8
0
*7
Return from interrupt
2
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.
1
5
0
(c)
Recovers the old frame pointer from the stack upon exiting
the function.
1
4
0
(c)
Return from subroutine
1
6
0
(d)
Return from subroutine
FUJITSU MICROELECTRONICS LIMITED
B.8 F
Operation
APPENDIX B Instructions
2
MC-16LX Instruction List
LH
AH
I
S T N Z V C
-
-
-
-
-
*
*
*
-
-
-
-
-
*
*
*
-
-
-
-
-
*
*
*
-
-
-
-
-
*
*
*
-
-
-
-
-
*
*
*
-
-
-
-
-
*
*
*
-
-
-
-
-
*
*
*
-
-
-
-
-
*
*
*
-
-
-
-
-
*
*
*
-
-
-
-
-
*
*
*
-
-
R S
-
-
-
-
-
-
R S
-
-
-
-
-
-
R S
-
-
-
-
-
-
R S
-
-
-
-
-
-
*
*
*
*
*
*
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
RMW
*
-
*
-
*
-
*
-
*
-
*
-
-
-
-
*
-
-
-
*
-
-
-
-
-
-
-
-
*
-
-
-
-
-
-
-
-
-
571

Advertisement

Table of Contents
loading

This manual is also suitable for:

F2mc-16lxMb90v330aMb90f337Mb90337

Table of Contents