For a 16F877A, and for many others, it's very simple.

Just change the $20 to $70.

There is a small amount of ram space that is common between all BANKS.   It ranges from $70 to $7F.   Any one of those locations can be used.

That way you don't need the wsave1 - wsave3 stuff
<br>