On Tue, 13 Aug 2002 18:42:15 -0700 Andrew Warren writes: > I missed the start of this thread, so I haven't seen the code, > but can't you just add WREG to itself to do this? > Yes you can! And why didn't I do it? Too clever, I guess. Just didn't think of it! That saves us one instruction, though putting an andlw after the add and prior to moving it to pcl would allow us to force the lsb low and force some higher bits low to prevent us jumping to invalid states. Adding wreg to itself is a very clever idea, though! Harold FCC Rules Online at http://hallikainen.com/FccRules Lighting control for theatre and television at http://www.dovesystems.com Reach broadcasters, engineers, manufacturers, compliance labs, and attorneys. Advertise at http://www.hallikainen.com/FccRules/ . ________________________________________________________________ GET INTERNET ACCESS FROM JUNO! Juno offers FREE or PREMIUM Internet access for less! Join Juno today! For your FREE software, visit: http://dl.www.juno.com/get/web/. -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu