Hey, don't worry about it Jan. I think I made the same mistake in the beginning.

To move 1 word var to another using movff might look like this ...

MOVFF _resetValue, _counter
MOVFF _resetValue+1, _counter+1

but that will only work with 2 variables. movff won't work with constants.

The easiest way to copy things from 1 place to another is using the MOVE?xx macro's. Take a look at this post for more info.

https://www.picbasic.co.uk/forum/showthread.php?p=2009

The MOVE?xx macro's will take care of all the bank switching (if required) the same way that PBP does it. <br><br>