Andreas,
Thank you for the workaround. I will use that as required.
In my simple test.s file, it works.
However, the #defines I'm using in my real program are from the
timera.h include file. Specifically, these lines:
#define OUTMOD2 0x0080 /* Output mode 2 */
#define OUTMOD1 0x0040 /* Output mode 1 */
#define OUTMOD0 0x0020 /* Output mode 0 */
#define CCIE 0x0010 /* Capture/compare interrupt enable */
#define CCI 0x0008 /* Capture input signal (read) */
#define OUT 0x0004 /* PWM Output signal if output mode 0 */
I guess I can re-define these with .equ like you suggested but
it would be better if the assembler worked for these. I'm a
new mspgcc user but your experience sounds like something broke
in the assembler recently?
- Dan
> From: [email protected]
> Sent: Thursday, September 18, 2003 2:37 PM
>
> Hi Dan,
>
> I know this behavior. I had some #define statements in my
> assembler file and it worked for some time. I don't know
> what went wrong, but later the same instructions failed like
> yours. Try the .equ statement instead, that worked:
>
> .equ foo1,1
>
> Hope that helps!
>
> Andreas