Instead of FSR you should enter its address 0xF8.

> I'm trying to use the macros in compiler.h to port some headers from Keil.
> So I have stuff like...
>
> SFR(FSR, 0xF8);
> SBIT(MCDIS, FSR, 7);
>
> And sdcc is telling me "Initializer element is not constant". What am I
> doing wrong?


------------------------------------------------------------------------------
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to