C166: MAC UNIT SUPPORT
Information in this article applies to:
Is the Multiply-Accumulate (MAC) Unit supported by the C166 compiler for the ST10x2xx and Infineon XC16x devices?
If so, where can I find a detailed explanation of the MAC Assembler Instructions?
Are any DSP examples available for the MAC?
A MAC Unit is available in the ST10F2xx, ST10R2xx, and Infineon XC16x devices. It was first supported by intrinsic function in C166 Version 4.02. These functions are documented and explained in Application Note 140: Using the MAC Unit of the ST10-272.
C166 Version 4.24 adds inline assembly support for the ST10 and Infineon devices. The new inline assembly functions are explained in Application Note 172: Using the Extended C166 Inline Assembler.
Several DSP examples are available in the \KEIL\C166\EXAMPLES\XC16X DEVICES\ folder.
Detailed descriptions of the MAC assembler instructions can be found in the Infineon and ST10 Hardware Architure User's Guides.
The Infineon C166S V2 16-Bit Microcontroller User's Guide is available at http://www.infineon.com/cmc_upload/documents/036/812/c166sv2um.pdf.
The ST10 Family Programming Manual is available at http://www.st.com/stonline/books/pdf/docs/5869.pdf.
ST offers AN1442: APPLICATION NOTE Signal Processing with ST10-DSP at http://www.st.com/stonline/books/pdf/docs/8596.pdf. This application note includes some algorithms for the MAC unit.
You may download the latest updates from the Keil Website.
Last Reviewed: Friday, March 5, 2004
of your data.