Re: [Sdcc-user] Strings and Pic

2008-03-07 Thread Vangelis Rokas
Try surrounding the strings with curly braces ( {""}; } regards, Vangelis Ov3rM1nd wrote: > > > Hi, Im writing a code for a PIC 16F877A and im getting this error: > piccode.c:50: syntax error: token -> '[' ; column 17 > > The code is this: > > const char code[]= > "\x5a\x38\x30\x41"

Re: [Sdcc-user] sdcc4pic18 use/problem

2007-12-25 Thread Vangelis Rokas
The .lkr files are part of GPUTILS package, not SDCC package. I think Scott distributes them as-is without modifying them. You should be looking for your problem somewhere else... regards, Vangelis Rokas Phil Anast wrote: > I'm tryin got use sdcc for the pic18. > > I am having pr

Re: [Sdcc-user] Internal registers not found

2007-11-07 Thread Vangelis Rokas
RTOS development team, but unfortunately it has been turned down. regards, Vangelis Rokas - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configura

Re: [Sdcc-user] Z80 and bitfields

2007-07-24 Thread Vangelis Rokas
bit reading/writing functions in the code generator (gen.c) of the respective port, so that it reads/writes bitfields in the correct offset of the array bytes' . regards, Vangelis Rokas [EMAIL PROTECTED] wrote: > I think it is a bug because: > > struct { >unsigned short CCC:

Re: [Sdcc-user] stdio library

2007-03-04 Thread Vangelis Rokas
__wparam This is the proper way to define a "putchar" function, just write: PUTCHAR(my_putchar) { blah... blah... } There is nothing similar for getchar, but definition for getchar is char getchar(void); no dark keywords here!:-) hope this solves your problem... Vangeli

Re: [Sdcc-user] pic16 adc libs

2007-02-13 Thread Vangelis Rokas
What differences are there? Can you send us a .diff file? and a short description of your changes? regards, Vangelis Rokas [EMAIL PROTECTED] wrote: > Hi > > Sorry to ask so much questions in this list but i have again a problem > with a lib coming with the sdcc. This time its the