PCD
Only addresses in this range are read from the hex file.
LOCATION=id
The identifier is made a constant with the start address of the imported data.
SIZE=id
The identifier is made a constant with the size of the imported data.
Purpose:
Examples:
This directive will tell the compiler to include (link) a relocatable object with this
unit during compilation. Normally all global symbols from the specified file will be
linked, but the EXCEPT and ONLY options can prevent certain symbols from
being linked.
The command line compiler and the PCW IDE Project Manager can also be
used to compile/link/build modules and/or projects.
#IMPORT(FILE=timer.o, ONLY=TimerTask)
void main(void)
{
while(TRUE)
TimerTask();
}
/*
timer.o is linked with this compilation, but only TimerTask() is
visible in scope from this object.
*/
Example Files: None
See Also:
#EXPORT, #MODULE, Invoking the Command Line Compiler, Multiple
Compilation Unit
#INCLUDE
Syntax:
Elements:
Purpose:
#INCLUDE < filename >
or
#INCLUDE " filename "
filename is a valid PC filename. It may include normal drive and path
information. A file with the extension ".encrypted" is a valid PC file. The
standard compiler #INCLUDE directive will accept files with this extension and
decrypt them as they are read. This allows include files to be distributed without
releasing the source code.
Text from the specified file is used at this point of the compilation. If a full path
is not specified the compiler will use the list of directories specified for the
project to search for the file. If the filename is in "" then the directory with the
main source file is searched first. If the filename is in <> then the directory with
the main source file is searched last.
98
相关PDF资料
PCI-EXP-T42G5-N1 IP CORE PCI EXPRESS ORCA 4
PCM18XH2 PROCESSOR MODULE MPLAB-ICE 2000
PCM18XN0 PROCESSOR MODULE FOR ICE2000
PDA-B-24-615-E-2B1-1-C CIRCUIT BREAKER MAG 1P 15A
PFMF.260.2 PFMF PTC FUSE SMT 2.6A 1812
PFNF.200.2 PFNF PTC FUSE SMT 2A 1206
PFRY.375 PTC-FUSE RADIAL 72 VDC
PFSM.150.33.2 FUSE PTC 8A 15V FST-TRIP SMD
相关代理商/技术参数
PCD_09 制造商:MACOM 制造商全称:Tyco Electronics 功能描述:Low Profile PCB Relay PCD
PCD-00173-0C 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY
PCD-00173-0E 制造商:Molex 功能描述:Ethernet Cable Assembly
PCD-00173-0H 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY
PCD-00173-0K 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY
PCD-00174-0C 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY; Cable Length - Imperial:3ft; Cable Length - Metric:914.4mm; Connector Type A:RJ45 Plug; Connector Type B:RJ45 Plug; Jacket Color:Red; Approval Bodies:CSA / UL; Body Material:PVC; Cable Assembly Type:Ethernet ;RoHS Compliant: NA
PCD-00174-0E 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY; Cable Length - Imperial:3ft; Cable Length - Metric:914.4mm; Connector Type A:RJ45 Plug; Connector Type B:RJ45 Plug; Jacket Color:Grey; Approval Bodies:CSA / UL; Body Material:PVC; Cable Assembly Type:Ethernet;RoHS Compliant: NA
PCD-00174-0H 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY