11.07.2015 Views

PicC 9.50 dsPIC Manual.pdf

PicC 9.50 dsPIC Manual.pdf

PicC 9.50 dsPIC Manual.pdf

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

OperationLinker and Utilities-ACODE=8000h-BFFEh,E000h-FFFEh-Pdata=C000h/CODEThis will link data at C000h, but find space to load it in the address ranges associated with CODE.If no sufficiently large space is available, an error will result. Note that in this case the data psectwill still be assembled into one contiguous block, whereas other psects in the class CODE will bedistributed into the address ranges wherever they will fit. This means that if there are two or morepsects in class CODE, they may be intermixed in the address ranges.Any psects allocated by a -P option will have their load address range subtracted from anyaddress ranges specified with the -A option. This allows a range to be specified with the -A optionwithout knowing in advance how much of the lower part of the range, for example, will be requiredfor other psects.5.7.21 -QprocessorThis option allows a processor type to be specified. This is purely for information placed in the mapfile. The argument to this option is a string describing the processor.5.7.22 -SThis option prevents symbol information relating from being included in the symbol file producedby the linker. Segment information is still included.5.7.23 -Sclass=limit[, bound]A class of psects may have an upper address limit associated with it. The following example placesa limit on the maximum address of the CODE class of psects to one less than 400h.-SCODE=400hNote that to set an upper limit to a psect, this must be set in assembler code (with a limit= flag ona PSECT directive).If the bound (boundary) argument is used, the class of psects will start on a multiple of the boundaddress. This example places the FARCODE class of psects at a multiple of 1000h, but with an upperaddress limit of 6000h:-SFARCODE=6000h,1000h98

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!