EasyManua.ls Logo

ST ST10F276E - MAC Instruction Set Summary; Table 13. MAC Register Address in Coreg Addressing Mode; Table 14. MAC Instruction Set Summary

ST ST10F276E
564 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Multiply-accumulate unit (MAC) UM0404
94/564 DocID13284 Rev 2
4.4 MAC instruction set summary
The following table gives an overview of the MAC instruction set. All the mnemonics are
listed with the addressing modes that can be used with each instruction.
For each combination of mnemonic and addressing mode this table indicates if it is
repeatable or not.
For full details of the MAC instruction set, refer to the ST10 Family Programming Manual.
Table 13. MAC register address in CoReg addressing mode
Registers Description Address
MSW MAC-Unit Status Word 00000b
MAH MAC-Unit Accumulator High 00001b
MAS “limited” MAH /signed 00010b
MAL MAC-Unit Accumulator Low 00100b
MCW MAC-Unit Control Word 00101b
MRW MAC-Unit Repeat Word 00110b
Table 14. MAC instruction set summary
Mnemonic Addressing modes Repeatable
CoMUL(u,s,-,rnd)
Rw
n
, Rw
m
[IDX
i
], [Rw
m
⊗]
Rw
n
, [Rw
m
⊗]
No
CoMAC(u, s, -, rnd)
CoMACR( u, s, rnd)
Rw
n
, Rw
m
[IDX
i
], [Rw
m
⊗]
Rw
n
, [Rw
m
⊗]
No
Yes
Yes
CoMACM (u, s, -, rnd)
CoMACMR(u, s, rnd)
[IDX
i
], [Rw
m
⊗] Yes
CoNOP
[Rw
m
⊗]
[IDX
i
]
[IDX
i
], [Rw
m
⊗]
Yes
CoNEG
CoNEG, rnd
CoRND
-No
CoSTORE
Rw
n
, CoReg
[Rw
n
⊗], Coreg
No
Yes
CoMOV [IDX
i
], [Rw
m
⊗] Yes
CoADD(2)
CoSUB(2)
CoSUB(2)R
CoMax
CoMin
Rw
n
, Rw
m
[IDX
i
], [Rw
m
⊗]
Rw
n
, [Rw
m
⊗]
No
Yes
Yes

Table of Contents

Related product manuals