n Branch Instructions
Table B.3c Branch Instructions
No.
1
BZ/BEQ rel
2
BNZ/BNE rel
3
BC/BLO rel
4
BNC/BHS rel
5
BN rel
6
BP rel
7
BLT rel
8
BGE rel
9
BBC dir: b,rel
10
BBS dir: b,rel
11
JMP @A
12
JMP ext
13
CALLV #vct
14
CALL ext
15
XCHW A,PC
16
RET
17
RETI
n Other Instructions
Table B.3d Other Instructions
No.
1
PUSHW A
2
POPW A
3
PUSHW IX
4
POPW IX
5
NOP
6
CLRC
7
SETC
8
CLRI
9
SETI
282
APPENDIX
Mnemonic
~
#
If Z = 1 then PC ← PC + rel
3
2
If Z = 0 then PC ← PC + rel
3
2
If C = 1 then PC ← PC + rel
3
2
If C = 0 then PC ← PC + rel
3
2
If N = 1 then PC ← PC + rel
3
2
If N = 0 then PC ← PC + rel
3
2
If V ∀ N =1 then PC ← PC + rel
3
2
If V ∀ N = 0 then PC ← PC + rel
3
2
If (dir: b) = 0 then PC ← PC + rel
5
3
If (dir: b) = 1 then PC ← PC + rel
5
3
(PC) ← (A)
2
1
(PC) ← ext
3
3
6
1
Vector call
6
3
Subroutine call
(PC) ← (A), (A) ← (PC) + 1
3
1
4
1
Return from subroutine
6
1
Return from interrupt
Mnemonic
~
#
4
1
4
1
4
1
4
1
1
1
1
1
1
1
1
1
1
1
Operation
TL
−
−
−
−
−
−
−
−
−
−
−
−
−
−
−
−
−
Operation
TL
−
−
−
−
−
−
−
−
−
TH
AH
N Z V C
OP code
−
−
− − − −
−
−
− − − −
−
−
− − − −
−
−
− − − −
−
−
− − − −
−
−
− − − −
−
−
− − − −
−
−
− − − −
−
−
− + − −
B0 to B7
−
−
− + − −
B8 to BF
−
−
− − − −
−
−
− − − −
−
−
− − − −
E8 to EF
−
−
− − − −
−
− − − −
dH
−
−
− − − −
−
−
Restore
TH
AH
N Z V C
OP code
−
−
− − − −
−
− − − −
dH
−
−
− − − −
−
−
− − − −
−
−
− − − −
−
−
− − − R
−
−
− − − S
−
−
− − − −
−
−
− − − −
MB89620 series
FD
FC
F9
F8
FB
FA
FF
FE
E0
21
31
F4
20
30
40
50
41
51
00
81
91
80
90