PAGESEL - Generate Page Selecting Code
Syntax
pagesel <label>
Description
For use when generating an object file. An instruction to the linker to generate page selecting code to set the page bits to the page containing the designated
<label>
. Only one<label>
should be specified. No operations can be performed on<label>
.<label>
must have been previously defined.The linker will generate the appropriate page selecting code. For 12-bit core devices, the appropriate bit set/clear instructions on the STATUS register will be generated. For 14-bit and 16-bit core devices,
MOVLW
andMOVWF
instructions will be generated to modify the PCLATH. If the device contains only one page of program memory, no code will be generated.For PIC18CXXX devices, this command will do nothing.
For more information, refer to Relocatable Objects.
Example
pagesel GotoDest
goto GotoDest
:
pagesel CallDest
call CallDest
See Also
Microchip Technology Inc. Microchip's Web Site Voice: (480) 792-7200 Fax: (480) 899-9210 Microchip's E-mail Address |