> >I need to check a register for a value and set the value of another > >register depending on the value of the first, what would be the best way > >to do this in the 16F84 If you know how to do this in C, Jal, or whatever compiled language you could check what the compiler produces. For C I think Hi-Tech has a free evaluation version that produces only a listing, great for this purpose. NB the reason you will probably not get a 'direct' answer is that it is so simple and straightforward (5 instructions) that it does not learn you anything when someone just spells it out. Wouter van Ooijen Van Ooijen Technische Informatica: http://www.voti.nl Jal compiler for PIC uC's: http://www.voti.nl/jal PICs kopen? http://www.voti.nl/shop -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads