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

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
label_address( )
Syntax:
Parameters:
Returns:
Function:
Availability:
Requires:
Examples:
Example Files:
Also See:
labs( )
Syntax:
Parameters:
Returns:
Function:
Availability:
Requires:
Examples:
Example Files:
Also See:
206
value = label_address(label);
label is a C label anywhere in the function
A 16 bit int in PCB,PCM and a 32 bit int for PCH
This function obtains the address in ROM of the next instruction after the
label. This is not a normally used function except in very special situations.
All devices.
Nothing
start:
end:
setjmp.h
goto_address()
result = labs (value)
value is a 16 , 32, 48 or 64 bit signed long int
A signed long int of type value
Computes the absolute value of a long integer.
All devices.
#INCLUDE <stdlib.h>
if(labs( target_value - actual_value ) > 500)
None
abs()
a = (b+c)<<2;
printf("It takes %lu ROM locations.\r\n",
label_address(end)-label_address(start));
printf("Error is over 500 points\r\n");

Related parts for PCWHD IDE COMPILER