Steven Borley

Show:

What's happening?

  • spelling errors

    Patch attached to fix a number of spelling errors. Mostly concentrates output visible to the user rather than in comment.

    2009-09-20 10:31:54 UTC in Small Device C Compiler

  • Expected scope rules fail with local enum

    The following compiles, but I don't think it should (does not even give a warning). Scope of enum foo_tag should be local to foo(). static void foo(void) { enum foo_tag { e_foo }; volatile unsigned char a = e_foo; } static void bar(void) { volatile unsigned char a = e_foo; } void main(void) { foo(); bar(); } Similarly, the following does not compile but I feel it...

    2009-03-20 23:09:08 UTC in Small Device C Compiler

  • Comment: Header for C8051F92x-93x series

    Hi Maarten, >Did you forget to attach the file? Um, appears so. Odd, I'm sure I added it at the time. Now attached. >Did you use compiler.h so that it can be used by any compiler? Yes. >And did you know that SiLabs already distribute header files for the newer >devices based on (a modified version of) compiler.h with their IDE? No, I didn't know that. I'm sure that's a help...

    2009-01-07 21:30:20 UTC in Small Device C Compiler

  • Header for C8051F92x-93x series

    The attached files add support for SiLabs' C8051F92x-F93x series of Low-Voltage/Low-Power MCUs. I've used the same file name convention as the C8051F120.h which covers the device range F12x to F13x. Steven.

    2009-01-04 20:15:30 UTC in Small Device C Compiler

  • Comment: linking fails due to an assert added at #5292

    >>What I do not quite understand: I ran the regression tests on my box and >>the compile farm runs them as well---successfully. Do they not use the >>linker, possibly due to them consisting of only one source file each? >> >It seems that this happens only with -z "Produce SDCdb debug as file[cdb]" >command line option The full list of flags I was passing to sdcc for linking were as...

    2008-12-30 08:10:16 UTC in Small Device C Compiler

  • linking fails due to an assert added at #5292

    I'm getting what appear to be getting a related problem to #2466950 (in sdcc rev #5303). ... /Users/sdcc-builder/build/sdcc-build/orig/sdcc/as/link/mcs51/../lkaomf51.c:575: failed assertion `res == buff' Looks like an assert was added after an an fgets() in rev #5292 and this is breaking the linking. In sdcc/as/link/mcs51/../lkaomf51.c we have ... while(!feof(CDBin)) { char...

    2008-12-28 02:42:03 UTC in Small Device C Compiler

  • Dcoumentation spolling correcitons

    A patch to fix the small number of spellings error I've noticed in the documentation. The attached patch is against code in subversion (using svn diff). Steven.

    2008-12-19 00:08:38 UTC in Small Device C Compiler

  • SD Recover

    sjborley committed revision 52 to the SD Recover SVN repository, changing 1 files.

    2008-11-26 22:28:12 UTC in SD Recover

  • Comment: assembler support macro function

    Maybe the c pre-processor can provide a work-round for you Here is how I'd implement your example: /* macro.c */ #define PUSHALL \ PUSH PSW __endasm;\ __asm PUSH ACC __endasm;\ __asm PUSH B __endasm;\ __asm PUSH DPL __endasm;\ __asm PUSH DPH #define POPALL \ PUSH DPH __endasm;\ __asm PUSH DPL __endasm;\ __asm PUSH B __endasm;\ __asm PUSH ACC __endasm;\ __asm PUSH PSW void...

    2008-11-23 10:43:59 UTC in Small Device C Compiler

  • SD Recover

    sjborley committed revision 51 to the SD Recover SVN repository, changing 1 files.

    2008-11-20 23:27:18 UTC in SD Recover

About Me

  • 2005-05-02 (5 years ago)
  • 1270801
  • sjborley (My Site)
  • Steven Borley

  • MinGW/MSYS (MS Windows) Linux Apple Mac OS X C Java Pascal Information Analysis

Send me a message