> > movf hourhand, w ; > > bcf status, c ; > > rlf hourhand, f ;hourhand X2 > > rlf hourhand, f ;hourhand X2 > > addwf hourhand, f ;wreg still contain original value of hourhand?? You can save one instruction I think: bcf STATUS, C ; or use "clrc" rlf hourhand, w ; W=hourhand*2 addwf hourhand, f ; =hourhand*3 (hourhand+hourhand*2) addwf hourhand, f ; =hourhand*5 (hourhand*3+hourhand*2) --Andrew _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads