Re: Basic18, and interrupt service routines

[prev] [thread] [next] [lurker] [Date index for 2006/05/23]

From: Michael Leuchtenburg
Subject: Re: Basic18, and interrupt service routines
Date: 19:58 on 23 May 2006
Spake Martin Ebourne:
> On Sat, 2006-05-20 at 16:16 -0400, Michael Leuchtenburg wrote:
> > I would be more specific in my subject header, but I really hate
> > everything about Basic18. Basic18 is a compiler for Basic for the PIC18.
> 
> You could always try the PIC C compiler. It's been a while since I last
> had cause to hate it so maybe it's improved, but despite their
> insistence that it was a C compiler it was anything but. More an
> assembler with curly brackets. And of course, without the control of a
> real assembler.

I used CC5X a while back, and it very much matched that description. I
recall it couldn't do certain things - like add three numbers together
at once. Just a little bit limiting.

Thankfully, it was just for a class, and we only had to use it as a
demonstration that compiling C to the PIC is possible. I came away
thinking that compiling C to the PIC was not worth it. There are some
decent C compilers for microcontrollers, but the ones for PIC seem to
have mostly decided to do away with things like "actually implementing
the language they purport to".

The PIC18 compiler claims "ANSI C compliance". Somehow, I doubt it.

-- 
<>                       :#,_@                          v
<^ " Michael Leuchtenburg  |  http://slashhome.org/ " +73
^  " cell: 413.433.0739                             " +7<
There's stuff above here

Generated at 14:00 on 27 May 2006 by mariachi 0.52