Question: regarding mac instructions in CodeWarrior
"Andy Gabler" <[email protected]> Wed, 2 Apr 2008 17:15:07 -0400
| Newsgroups | gmane.comp.hardware.motorola.microcontrollers.coldfire |
|---|---|
| Message-ID | <[email protected]> |
Greetings all,
I am working on writing an FIR filter for the MCF5275 and I am attempting to
utilize the emac. I have obtained the DSP library from Freescale
(DSPLIPUMSW); however, when I compile the the FIR filter code or when I
write my own "mac" instructions like "asm("mac.w %d0.l, %d1.l, <<, %ACC0") I
get the following error:
Error : C:\DOCUME~1\rr\LOCALS~1\Temp\ccQ9aaaa.s : Assembler messages:
Error : syntax error -- statement `mac.w %d0.l,%d1.l,<<,%ACC0' ignored
ccQ9aaaa.s line 130
all the other assembly I have written it compiles but it gets stuck on each
mac instruction.
I am using the CodeWarrior IDE 5.0.9 to do the compilation.
If anyone has suggestions/ideas of how to make this work I would greatly
appreciate them.
Thanks,
andy