Hi Everyone, Usually I don't pay any attention to optimizing code, if it works I use it, but this morning I'm feeling picky. No where in my notes do I have a decrement for more than a 2 byte number. I want 3 bytes. This is what I came up with. It looks stupid to me. Feel free to come up with something better. It's for midrange pics and does not use any temporary registers. movlw 1 subwf low,f movlw 0 SKPC movlw 1 subwf mid,f SKPC decf hi,f Any improvements on this? Thanks, Bob