cannot use movec instruction
Ha Luong
haluongvn at gmail.com
Fri Feb 2 08:22:46 UTC 2007
Dear all,
I can't use movec instruction when compile and link with mcpu=5485. The
error is
C:\DOCUME~1\haluong\LOCALS~1\Temp/ccsbbaaa.s: Assembler messages:
C:\DOCUME~1\haluong\LOCALS~1\Temp/ccsbbaaa.s:10: Error: operands mismatch --
sta
tement `movec %d0,%ACR0' ignored
C:\DOCUME~1\haluong\LOCALS~1\Temp/ccsbbaaa.s:10: Error: operands mismatch --
sta
tement `movec %d0,%ACR1' ignored
My code is:
__asm__("move.l #0x01040100,%d0");
__asm__("movec %d0,%CACR");
But I can use movec instruction with mcpu=5282. I don't know I have any
mistake.
Thanks for your help
Ha Luong
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sourcerytools.com/pipermail/coldfire-gnu-discuss/attachments/20070202/f3cd90fa/attachment.html>
More information about the coldfire-gnu-discuss
mailing list