| |
Jallist Archive Jun 2003
Re: a quetion of speed
From: "Mark Jones" <heliosstudios(at)att.net>
Date: 01 Jun 2003 23:06:22 -0000
--- In jallist@yahoogroups.com, Eur van Andel wrote:
> On Sat, 31 May 2003 16:39:26 -0000, "Mark Jones"
wrote:
>
> >What a coincidence, I just changed all the
> >"var = var + 1" statements in my code
> >yesterday to "asm incf var,f" because they were
> >generating two instructions for each increment:
> >
> > MOVLW 0x01
> > ADDWF var, f
>
> strange. What JAL version are you using?
>
I'm using JAL v4.5 (from the JAL-cc install), but editing with
JALEdit. Should these be optimized to one instruction when
the "trivial expressions" switch is used? It is enabled, unless
JALEdit isn't passing the parameter correctly?
|
|