On Fri, 2007-07-27 at 14:58 +0100, Matthew Rhys-Roberts wrote: > As far as I can see, there's no built-in MOVLF (move literal to file) > instruction, at least on the 18F6680 I've been working on. > > I know it's hardly a problem to load the literal into W first, then move > W into the desired file, but why would they fail to design such a useful > one-step function? That's RISC. A large part of RISC is using the W register, so most instructions have W as either source or target. With the PIC some instructions were added due to the "controller" nature of a PIC core (i.e. bsf type things). TTYL -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist