> skpnc ; equivalanet to btfsc OPTION_REG,C ... >The tricky part in these examples is understanding how the >subwf instruction affects the status bits. I'd suggest >you keep a copy of midrange reference manual handy to refer to. This is where Olin has some macros that help, in the form of skip_wle and skip_wgt (or they might be skip_wlt and skip_wge) when dealing with adds and subtracts in w. They assemble to the same code as the Microchip macros. Still need to have the manual handy, but when looking over the code again these are more explanatory. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist