RE: Question: regarding mac instructions in CodeWarrior
"Seymour David" <[email protected]> Thu, 3 Apr 2008 08:06:26 -0700
| Newsgroups | gmane.comp.hardware.motorola.microcontrollers.coldfire |
|---|---|
| Message-ID | <FE151544B54DB0428FFA9AE99C27A12101DA9B8C@az33exm22.fsl.freescale.net> |
Hi Andy,
Using CW6.4 Build 6 with IDE version 5.7.0 . It is using the CW
compiler.
The ".s" file is assembly code source file.
Alternatively you could add assembly into "C" file by doing either of
the following:
asm (
move.w d0,d1
add.l d0,d1
);
For multiple lines
Or
For single line
asm ( nop);
Regards,
David
David E Seymour
Come to FTF 2008 June 16th through the 19th in Orlando
http://www.freescale.com/ftf
________________________________
From: [email protected] [mailto:[email protected]]
On Behalf Of Andy Gabler
Sent: Wednesday, April 02, 2008 6:30 PM
To: Seymour David
Subject: Re: [ColdFire] Question: regarding mac instructions in
CodeWarrior
Thanks David,
I did post to the Freescale Forum; but thanks for the tip.
A quick question about the code you included:
--what version of CodeWarrior did you use?
--what tool chain were you using?
--was it a ".s" file?
I just tried compiling it and got the same result I was getting before
so I think I might be missing something in my compiler.
Thanks again,
-andy
[email protected] Send a post to the list.
[email protected] Join the list. [email protected]
Join the list in digest mode. [email protected] Leave the
list.