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

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
Examples:
Example Files:
Also See:
#OCS
Syntax:
Elements:
Purpose:
Examples:
Example Files:
Also See:
128
#ORG 0x1E00, 0x1FFF
MyFunc() {
//This function located at 1E00
}
#ORG 0x1E00
Anotherfunc(){
// This will be somewhere 1E00-1F00
}
#ORG 0x800, 0x820 {}
//Nothing will be at 800-820
#ORG 0x1C00, 0x1C0F
CHAR CONST ID[10}= {"123456789"};
//This ID will be at 1C00
//Note some extra code will
//proceed the 123456789
#ORG 0x1F00, 0x1FF0
Void loader (){
.
.
.
}
loader.c
#ROM
#OCS x
x is the clock's speed and can be 1 Hz to 100 MHz.
Used instead of the #use delay(clock = x)
#include <18F4520.h>
#device ICD=TRUE
#OCS 20 MHz
#use rs232(debugger)
void main(){
None
#USE DELAY
-------;
}

Related parts for PCDIDE COMPILER