> > > movf STATUS_TEMP, w ; Restore "STATUS" > > > movwf STATUS > > > swapf W_TEMP, f ; Restore "w" without > > > swapf W_TEMP, w ; affecting STATUS > > > retfie >Yeah, I think you _can_ use movf STATUS,W because the value it moves to W >is >the value BEFORE the Z bit gets tweaked. Good point. In retrospect, perhaps I was confusing the STATUS saving with the W saving, for which swapf is definitely needed. Either way seems to work, I guess. --Andrew _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.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