4.48 Pageselw Directive

The MPASM PAGESELW directive generates page selection code (using WREG as an intermediate register) appropriate for the label specified as the argument.

Suggested Replacement

The PIC Assembler's PAGESEL directive performs a similar function but will never use WREG to adjust page selection bits. The output page selection code will perform bit operations on the bits that must be toggled.