PCDIDE COMPILER Custom Computer Services Inc (CCS), PCDIDE COMPILER Datasheet - Page 166

PCD C-COMPILER PIC24, DSPIC

PCDIDE COMPILER

Manufacturer Part Number
PCDIDE COMPILER
Description
PCD C-COMPILER PIC24, DSPIC
Manufacturer
Custom Computer Services Inc (CCS)
Type
Compilerr
Datasheet

Specifications of PCDIDE COMPILER

For Use With/related Products
Microchip PIC24/dsPIC®
Lead Free Status / RoHS Status
Not applicable / Not applicable
Other names
429-1008
#WORD
Syntax:
Elements:
Purpose:
Examples:
Example Files:
Also See:
152
#WORD id = x
id is a valid C identifier,
x is a C variable or a constant
If the id is already known as a C variable then this will locate the variable at
address x. In this case the variable type does not change from the original
definition. If the id is not known a new C variable is created and placed at
address x with the type int16
Warning: In both cases memory at x is not exclusive to this variable. Other
variables may be located at the same location. In fact when x is a variable, then
id and x share the same memory location.
#word data = 0x0860
struct
} status_register;
#word status_register = 0x42
...
short zero = status_register.Z;
None
#BIT, #BYTE, #LOCATE,
short C;
short Z;
short OV;
short N;
short RA;
short IPL0;
short IPL1;
short IPL2;
int upperByte : 8;
{
#RESERVE

Related parts for PCDIDE COMPILER