Panasonic MN101C00 Cell Phone User Manual


 
Chapter 10 Appendices
145
Instruction Set
MN101C00 SERIES INSTRUCTION SET
Group Mnemonic Operation
Affected Flag
VF
NF CF ZF
Code
Size
Cycle
Re-
peat
Machine Code
Notes
Page
1
234567891011Expand
TBNZ (abs8)bp,label
if(mem8(abs8)bp=1),PC+8+d11(label)+HPC
00
8
126
127
127
129
129
130
130
131
6/7
0001
1bp. <abs 8..> <d11 .... ...H0011
if(mem8(abs8)bp=0),PC+8PC
TBNZ (io8)bp,label
if(mem8(io)bp=1),PC+8+d11(label)+HPC
00
86/7
0101
1bp. <io8 ...> <d11 .... ...H0011
if(mem8(io)bp=0),PC+8PC
TBNZ (abs16)bp,
label
2
2
2
if(mem8(abs16)bp=1),PC+10+d11(label)+HPC
00
10 7/8
1111
1bp. <abs 16.. .... ...> <d11 .... ...H0011
if(mem8(abs16)bp=0),PC+10PC
JSR (An)
JSR
SP-3SP,(PC+3).bp7~0mem8(SP)
––––
37
0001
00A10010
(PC+3).bp15
~
8mem8(SP+1)
(PC+3).Hmem8(SP+2).bp7,
0mem8(SP+2).bp6~2,
(PC+3).bp17~16mem8(SP+2).bp1~0
0PC.bp17~16
AnPC.bp15~0,0PC.H
JSR label
SP-3SP,(PC+5).bp7~0mem8(SP)
––––
56
0001
000H <d12 .... ...>
(PC+5).bp15
~
8mem8(SP+1)
(PC+5).Hmem8(SP+2).bp7,
0mem8(SP+2).bp6~2,
(PC+5).bp17~16mem8(SP+2).bp1~0
PC+5+d12(label)+HPC
JSR label
SP-3SP,(PC+6).bp7~0mem8(SP)
––––
67
0001
001H <d16 .... .... ...>
(PC+6).bp15
~
8mem8(SP+1)
(PC+6).Hmem8(SP+2).bp7,
0mem8(SP+2).bp6~2,
(PC+6).bp17~16mem8(SP+2).bp1~0
PC+6+d16(label)+HPC
JSR label
3
4
5
SP-3SP,(PC+7).bp7~0mem8(SP)
––––
78
1001
1aaH <abs 18.b p15
0..>0011
(PC+7).bp15
~
8mem8(SP+1)
(PC+7).Hmem8(SP+2).bp7,
0mem8(SP+2).bp6~2,
(PC+7).bp17~16mem8(SP+2).bp1~0
abs18(label)+HPC
JSRV (tbl4)
SP-3SP,(PC+3).bp7~0mem8(SP)
––––
39
1111
1110 <t4>
(PC+3).bp15~8mem8(SP+1)
(PC+3).Hmem8(SP+2).bp7
(PC+3).bp17~16mem8(SP+2).bp1~0
mem8(x'004080+tbl4<<2)PC.bp7~0
mem8(x'004080+tbl4<<2+1)PC.bp15
~
8
mem8(x'004080+tbl4<<2+2).bp7PC.H
mem8(x'004080+tbl4<<2+2).bp1~0
PC.bp17
~
16
2 d11 sign extended
4 d16 sign extended
5 aa=abs18.17
16
123
123
124
124
125
125
126
TBZ (abs16)bp,label
TBZ
if(mem8(abs16)bp=0),PC+9+d7(label)+HPC
00
97/8
1110
0bp. <abs 16.. .... ...> <d7. ...H0011
if(mem8(abs16)bp=1),PC+9PC
TBZ (io8)bp,label
if(mem8(IOTOP+io8)bp=0),PC+8+d11(label)+HPC
00
86/7
0100
1bp. <io8 ...> <d11 .... ...H0011
if(mem8(IOTOP+io8)bp=1),PC+8PC
TBZ (abs16)bp,label
if(mem8(abs16)bp=0),PC+10+d11(label)+HPC
00
10 7/8
1110
1bp. <abs 16.. .... ...> <d11 .... ...H0011
if(mem8(abs16)bp=1),PC+10PC
TBNZ (abs8)bp,label
TBNZ
if(mem8(abs8)bp=1),PC+7+d7(label)+H
PC
00
76/7
0001
0bp. <abs 8..> <d7. ...H0011
if(mem8(abs8)bp=0),PC+7PC
TBNZ (io8)bp,label
if(mem8(io)bp=1),PC+7+d7(label)+HPC
00
76/7
0101
0bp. <io8 ...> <d7. ...H0011
if(mem8(io)bp=0),PC+7PC
TBNZ (abs16)bp,label
1
2
2
1
1
1
if(mem8(abs16)bp=1),PC+9+d7(label)+HPC
00
97/8
1111
0bp. <abs 16.. .... ...> <d7. ...H0011
if(mem8(abs16)bp=0),PC+9PC
JMP
(An)
JMP
0PC.17~16,An PC.15~0,0PC.H
––––
34
0001
00A00010
JMP
label
abs18(label)+HPC
––––
75
1001
0aaH <abs 18.b p15
0..>0011
128
128
132
NOP
NOP PC+2PC
––––
21
0000
0000
1 d7 sign extended
TBZ (io8)bp,label
if(mem8(IOTOP+io8)bp=0),PC+7+d7(label)+HPC
00
76/7
0100
0bp. <io8 ...> <d7. ...H0011
if(mem8(IOTOP+io8)bp=1),PC+7PC
1
5
0mem8(SP+2).bp6~2,
3 d12 sign extended
Note: "Page" refers to the corresponding page in the Instruction Manual.