Pre-Processor
compiler. #RESERVE must appear after the #DEVICE otherwise it will have no
effect. When linking multiple compilation units be aware this directive applies to the
final object file.
Examples: #DEVICE PIC16C74
#RESERVE 0x60:0X6f
Example
Files:
Also See:
#ROM
Syntax:
#ORG
#ROM address = { list }
#ROM type address = { list }
Elements: address is a ROM word address, list is a list of words separated by commas
Purpose: Allows the insertion of data into the .HEX file. In particular, this may be used to
program the '84 data EEPROM, as shown in the following example.
Note that if the #ROM address is inside the program memory space, the directive
creates a segment for the data, resulting in an error if a #ORG is over the same
area. The #ROM data will also be counted as used program memory space.
The type option indicates the type of each item, the default is 16 bits. Using char as
the type treats each item as 7 bits packing 2 chars into every pcm 14-bit word.
When linking multiple compilation units be aware this directive applies to the final
object file.
Some special forms of this directive may be used for verifying program memory:
#ROM address = checksum
This will put a value at address such that the entire program memory will sum to
0x1248
#ROM address = crc16
This will put a value at address that is a crc16 of all the program memory except
the specified address
#ROM address = crc8
This will put a value at address that is a crc16 of all the program memory except
the specified address
Examples: #rom getnev ("EEPROM_ADDRESS")={1,2,3,4,5,6,7,8}
#rom int8 0x1000={"(c)CCS, 2010"}
115
相关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