Parse Error Query

erica arya erica_arya@yahoo.com
Mon Feb 25 05:24:00 GMT 2002


Hello,

I am facing a problem while compiling my application
using gcc compiler version 2.96-h8300-000821.
The areas of problem in my application where the
problem exists is as below:

Declaration:

#define TPU_TGR1B   ( volatile unsigned long   
(0xFFFFFF2A) )  /* Timer general B      */
#define TPU_TIER1   ( volatile unsigned long   
(0xFFFFFF24) )  /* Timer intrpt enab    */
#define ITU_TSTR    ( volatile unsigned long   
(0xFFFFFEB0) )  /* Timer start          */

void main(void)
{
	 	
TPU_TGR1B  = duty = 0x7fff;/* Set duty of LED 50% by
TGRB */
TPU_TIER1 |= 42;/* Enable B compare/match interrupt */
ITU_TSTR  |= 0x02;/* Start Channel 1 */

}

On compiling using gcc I am getting 
"parse error before 0xFFFFFF2A"
"parse error before 0xFFFFFEB0"

If you could please tell me where could the problem be
I would indeed be very thankful.

Regards
Erica.


	

__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com



More information about the Gcc-help mailing list