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

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
Examples:
Example Files:
Also See:
#BYTE
Syntax:
Elements:
Purpose:
Examples:
Example Files:
Also See:
104
/* assign the location where the compiler will
place the reset and interrupt vectors */
#build(reset=0x200,interrupt=0x208)
/* assign the location and fix the size of the segments
used by the compiler for the reset and interrupt vectors */
#build(reset=0x200:0x207, interrupt=0x208:0x2ff)
/* assign stack space of 512 bytes */
#build(stack=0x1E00:0x1FFF)
#build(stack= 0x300) // When Start and End locations are not
specified, the compiler uses the last RAM locations available
on the chip.
None
#LOCATE, #RESERVE, #ROM,
#BYTE 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 int (8 bit)
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.
#byte
#byte
struct
#byte a_port = 0x2DA
...
a_port.c_d = 1;
ex_glint.c
#BIT, #LOCATE, #RESERVE,
short int r_w;
short int c_d;
int data
status _resgister = 0x42
b_port = 0x02C8
{
: 6 ; } E _port;
#WORD
#ORG

Related parts for PCWHD IDE COMPILER