SETF :-) > > > Hm, let's see, my MOVLF h'00', is a CLRF, > but what am I missing about the MOVLF h'FF' ? > > A COMF doesn't work, if it's not h'00' before. > The same with INCF, DECF. What else ? > > Jan-Erik. > > Mark Scoville wrote: > > Yup, also a MOVLF h'FF' instruction :-) > > > > -- Mark > > > >> > >> Well, at least there is a "MOVLF h'00'" instruction... :-) > >> But for other values, no. > >> > >> Jan-Erik. > >> > >> Dario Greggio wrote: > >>> Matthew Rhys-Roberts wrote: > >>> > >>>> 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? > >>> a matter of RISC architecture... I guess :) > >>> MOVFF (file to file) came out in 18F parts, was not there on > >> earlier ones. > >>> You can write a macro for MOVLF: the rationale is that such a > >> macro will > >>> still, probably, be faster than a MOVLF-like instruction on a > >> 80x86 CPU... > >>> > >> -- > >> http://www.piclist.com PIC/SX FAQ & list archive > >> View/change your membership options at > >> http://mailman.mit.edu/mailman/listinfo/piclist > >> > >> > > > > > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > > -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist