![](http://datasheet.mmic.net.cn/30000/M3455AG8-XXXFP_datasheet_2359525/M3455AG8-XXXFP_89.png)
Rev.1.02
Nov 26, 2008
REJ03B0224-0102
455A Group
MACHINE INSTRUCTIONS (INDEX BY ALPHABET) (continued)
B a
(Branch to address a)
Instruc-
tion
code
D9
D0
Number of
words
Number of
cycles
Flag CY
Skip condition
01
1 a6 a5 a4 a3 a2 a1 a0 2 1
8
+a
a 16
11
-
Opera-
tion:
(PCL)
← a6 to a0
Grouping:
Branch operation
Description: Branch within a page : Branches to address a in the identi-
cal page.
Note:
Specify the branch address within the page including this
instruction.
BL p,a
(Branch Long to address a in page p)
Instruc-
tion
code
D9
D0
Number of
words
Number of
cycles
Flag CY
Skip condition
00
11
1 p4 p3 p2 p1 p0 2 0
E
+p
p 16
2
-
1p6 p5 a6 a5 a4 a3 a2 a1 a0 2 2a a 16 Grouping:
Branch operation
Description: Branch out of a page : Branches to address a in page p.
Note:
M3455AG8: p=0 to 63
p6=0
M3455AGC: p=0 to 95
Opera-
tion:
(PCH)
← p
(PCL)
← a6 to a0
BLA p
(Branch Long to address (D)+(A) in page p)
Instruc-
tion
code
D9
D0
Number of
words
Number of
cycles
Flag CY
Skip condition
0
001
00
00 2 01 0 16
22
-
1p6 p5 p4 00 p3 p2 p1 p0 2 2p p 16 Grouping:
Branch operation
Description: Branch out of a page : Branches to address (DR2 DR1 DR0
A3 A2 A1 A0)2 specified by registers D and A in page p.
Note:
M3455AG8: p=0 to 63
p6=0
M3455AGC: p=0 to 95
Opera-
tion:
(PCH)
← p
(PCL)
← (DR2R0, A3A0)
BM a
(Branch and Mark to address a in page 2)
Instruc-
tion
code
D9
D0
Number of
words
Number of
cycles
Flag CY
Skip condition
01
0 a6 a5 a4 a3 a2 a1 a0 2 1a a 16
11
-
Opera-
tion:
(SP)
← (SP) + 1
(SK(SP))
← (PC)
(PCH)
← 2
(PCL)
← a6a0
Grouping:
Subroutine call operation
Description: Call the subroutine in page 2 : Calls the subroutine at
address a in page 2.
Note:
Subroutine extending from page 2 to another page can
also be called with the BM instruction when it starts on
page 2.
Be careful not to over the stack because the maximum
level of subroutine nesting is 8.