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

PCWHD PIC10,16,18,24, DSPIC

PCWHD IDE COMPILER

Manufacturer Part Number
PCWHD IDE COMPILER
Description
PCWHD PIC10,16,18,24, DSPIC
Manufacturer
Custom Computer Services Inc (CCS)
Type
Compilerr
Datasheet

Specifications of PCWHD IDE COMPILER

For Use With/related Products
Microchip PIC10, PIC12, PIC16, PIC18, PIC24, dsPIC MCUs
Lead Free Status / RoHS Status
Not applicable / Not applicable
Other names
429-1009
#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 PCWHD IDE COMPILER