I'm not here to teach you the pic16 instruction set but yes, movff is a 2-words instructions that copies a file register into another without going through Wreg.

for your information, pic16 is the architecture of the PIC18XXX microcontrollers.
PIC16FXXX have a pic14 architecture.

sebastien

On Wed, Aug 25, 2010 at 3:05 PM, KHMan <keinhong@gmail.com> wrote:
On 8/25/2010 8:03 PM, S├ębastien Lorquet wrote:
>
> With the pic16, we automatically have a stack. The resulting code
> is huge.
> [snip]
>
> This is a very big overhead. and every movff counts for 2
> instructions.
> [snip]

You are saying MOVFF is a PIC16 instruction?

--
Cheers,
Kein-Hong Man (esq.)
Kuala Lumpur, Malaysia

------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users
worldwide. Take advantage of special opportunities to increase revenue and
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user