From: Jesus Calvino-F. <Je...@ec...> - 2009-07-23 04:41:01
|
Macro 'SBIT' doesn't know that 'FSR' is. Try instead: SFR(FSR, 0xF8); SBIT(MCDIS, 0xF8, 7); At 05:47 PM 21/07/2009, you wrote: >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 >Sdc...@li... >https://lists.sourceforge.net/lists/listinfo/sdcc-user |