> On 6/29/2011 2:21 AM, Michael Watterson wrote:
> > On 29/06/2011 08:48, Tamas Rudnai wrote:
> >> In my reading that's what exactly Bob wanted to know -- if JAL supports
> >> these new enhanced instructions to make more efficient code or not. Without
> >> the support from the compiler side there is very little advantage using the
> >> enhanced core over a normal midrange one.
> >>
> >> Tamas
> > Kyle would know.
> >
> > The JALv2 compiler does appear to "take advantage" of PIC HW, i.e.
> > multiply if it's an 18F rather than a 10F uses the multiply instruction
> > and multiply hardware.
> >
> > It's a superb optimising compiler. Unless you are Olin, you will not do
> > as well in Assembler even if the compiler is ignoring the odd device
> > specific instruction.
> >
> > I've found all the C compilers produce much larger and sometimes buggy code.
> >
> > I've done Assembler since 1979 and done PIC 16F877 assembler projects.
> > I'd not use anything else now for Traditional PIC (10F to 18F).
> >
> > Also in unlikely event (once in last 4 years or so for me?) you need
> > assembler you can use it inline.
> >
> >
http://www.justanotherlanguage.org
> > Is very clear for beginner. The Google hosted libraries are great.
> > Also some examples JALV2 on
http://www.techtir.ie
> > USB communication
> > Serial
> > Frequency counter
> > Interrupts
> > ADC use
> > 7 seg LED, text LCD and Graphic LCD driving
> > I2C memory device used as if an array variable
> > Analogue clock face on GLCD, can be resized and moved while running
> > How to use lookup tables for trig and other maths.
> >
> >
> >
> >
> >
> Thanks, Michael. Nicely analyzed.
>
> I think you and I are almost identical. Over the years I have written
> some beautiful and elegant
> PIC code for the mid-range PIC (PIC16F/PIC12F) and stored each module.
> So, in essence,
> I HAVE a higher-level language. But the PIC16F1939 has some significant
> differences, such
> that I'd have to rewrite and retest almost all of my "library". That
> task will be a significant one.
>
> So, knowing this, I simply wanted to VERIFY that all that work had been
> done on JALv2. 'cause
> if it hadn't, then it would be faster to code in MPASM. Its that simple.
> I didn't want a war, just
> a verification.
>
> --Bob A
>
>
> .