The following table gives the MAC Function Code
of each instruction. This Function Code is the third
byte of the new instruction and is used by the
Table 30 : MAC instruction function code (hexa)
Mnemonic
CoMUL
CoMULu
CoMULus
CoMULsu
CoMUL-
CoMULu-
CoMULus-
CoMULsu-
CoMUL + rnd
CoMULu + rnd
CoMULus + rnd
CoMULsu + rnd
CoMAC
CoMACu
CoMACus
CoMACsu
CoMAC-
CoMACu-
CoMACus-
CoMACsu-
CoMAC + rnd
CoMACu + rnd
CoMACus + rnd
CoMACsu + rnd
CoMACR
CoMACRu
CoMACRus
CoMACRsu
CoMACR + rnd
CoMACRu + rnd
CoMACRus + rnd
CoMACRsu + rnd
CoNOP
CoNEG
CoNEG + rnd
CoRND
CoABS -
CoABS op1, op2
CoSTORE
CoMOV
Function Code
C0
00
80
40
C8
08
88
48
C1
01
81
41
D0
10
90
50
E0
20
A0
60
D1
11
91
51
F0
30
B0
70
F1
31
B1
71
5A
32
72
B2
1A
CA
wwww:w000
00
ST10 FAMILY PROGRAMMING MANUAL
co-processor as its operation code. Unused func-
tion codes are treated as CoNOP Function Code
by the MAC.
Mnemonic
CoMACM
CoMACMu
CoMACMus
CoMACMsu
CoMACM-
CoMACMu-
CoMACMus-
CoMACMsu-
CoMACM + rnd
CoMACMu + rnd
CoMACMus + rnd
CoMACMsu + rnd
CoMACMR
CoMACMRu
CoMACMRus
CoMACMRsu
CoMACMR + rnd
CoMACMRu + rnd
CoMACMRus + rnd
CoMACMRsu + rnd
CoADD
CoADD2
CoSUB
CoSUB2
CoSUBR
CoSUB2R
CoMAX
CoMIN
CoLOAD
CoLOAD-
CoLOAD2
CoLOAD2-
CoCMP
CoSHL #data
5
CoSHL other
CoSHR #data
5
CoSHR other
CoASHR #data
5
CoASHR other
CoASHR + rnd #data
5
CoASHR + rnd other
Function Code
D8
18
98
58
E8
28
A8
68
D9
19
99
59
F9
38
B8
78
F9
39
B9
79
02
42
0A
4A
12
52
3A
7A
22
2A
62
6A
C2
82
8A
92
9A
A2
AA
B2
BA
125/172
Need help?
Do you have a question about the ST10 Series and is the answer not in the manual?
Questions and answers