sorry can't write PIC assembler but something like
WReg= 8
Rotate Left f through Carry, 1
jump on carry, done
dec WReg
Rotate Left f through Carry, 1
jump on carry, done
etc...
or maybe BTFSC - BitTest, skip if clear
George
sorry can't write PIC assembler but something like
WReg= 8
Rotate Left f through Carry, 1
jump on carry, done
dec WReg
Rotate Left f through Carry, 1
jump on carry, done
etc...
or maybe BTFSC - BitTest, skip if clear
George
Bookmarks