Beruflich Dokumente
Kultur Dokumente
CCS
COMPILER
MANUAL
INTRODUCTION:
1
Utilities:
SIO
SIO (Serial Input Output) is a simple program " dumb
terminal " that can run from the DOS for input and output
over a serial port. WIS helpful as it shows all incoming
characters, except that non-printable will display its
hexadecimal code red.
PICCHIPS
That is a utility PICCHIPS reads the database of a device . I
have
esta compiler use database to determine the specific
Characteristics of
During compilation device . When you run the program
without any parameters , it will list all devices ( PIC )
available. If you specify a device as
eg PIC16C84 parameter , ie, write picchips PIC16C84 , we
Obtain Detailed information on this device . By way of
example and for Said PIC You get the following information:
PIC16C84-------------------------------Opcode:
14 bits, ROM: 1024, RAM: 36, I/O: 13 H/W: EEPROM(64) POR TIM0 TRIS
RAM: 0C-2F Ports: [A:01234---] [B:01234567] [C:--------] [D:--------]
[E:--------] Fuses: LP: 0003/0000 XT: 0003/0001 HS: 0003/0002 RC:
0003/0003 NOWDT: 0004/0000 WDT: 0004/0004 NOPUT: 0008/0000
PUT: 0008/0008 PROTECT: 3FF0/0000 NOPROTECT: 3FF0/3FF0 ID is at
2000 Par Device value: 0084 C Device value: 84, C-Scratch at: 0C
CHIPEDIT
ChipEdit is a Windows utility ( PCW only ) you can edit the
base
a device data . With this utility you can add devices ,
change or remove them from the database. To add a device,
select from another list equivalent , similar caracterticas ,
and click the Add button. To edit or delete a device, select it
and click the Edit or Delete button.
CONVERT
3
arithmetic operators
Arithmetic operators are used to perform mathematical
operations. Listed in the following table:
Relational operators
Its mission is to compare two operands and an integer
result : 1 (true ) ; 0 (false ) . The following table illustrates
these operators:
Logic Operators
Like the relational operators , they return 1 (true ) , 0
(false ) after evaluation of its operands. The following table
illustrates these operators.
Bitwise operators
These operators allow you to act on the operands bitwise
and can only be
integer (including char ) . They are as follows:
Expressions
Processor directives:
All preprocessor directives begin with the # character
followed by a
specific command. Some of these directives are extensions
of the standard C. the C It provides a preprocessor directive
that compilers accept , and It lets ignore or act on the
following data . Our compiler supports any pre - processor
directive that begins with PRAGMA, which ensures
compatibility with other compilers.
Example:
#INLINE / * These two lines are valid * /
#PRAGMA INLINE
8