Keywords
Keywords are words reserved for special purposes and must not be used as normal identifier names.
Beside standard C keywords, all relevant SFR are defined as global variables and represent reserved words that cannot be redefined (for example: TMR0
, PCL
, etc). Probe the Code Assistant for specific letters (Ctrl+Space in Editor) or refer to Predefined Globals and Constants.
Here is an alphabetical listing of keywords in C:
- absolute
- asm
- at
- auto
- bit
- bool
- break
- case
- catch
- char
- class
- code
- const
- continue
- data
- default
- delete
- dma
- do
- double
- else
- enum
- explicit
- extern
- false
- far
- float
- for
- friend
- goto
- if
- inline
- int
- iv
- long
- mutable
- namespace
- near
- operator
- org
- pascal
- private
- protected
- public
- register
- return
- rx
- sfr
- short
- signed
- sizeof
- static
- struct
- switch
- template
- this
- throw
- true
- try
- typedef
- typeid
- typename
- union
- unsigned
- using
- virtual
- void
- volatile
- while
- xdata
- ydata
Also, the mikroC PRO for ARM includes a number of predefined identifiers used in libraries. You could replace them by your own definitions, if you want to develop your own libraries. For more information, see mikroC PRO for ARM Libraries.
Copyright (c) 2002-2012 mikroElektronika. All rights reserved.
What do you think about this topic ? Send us feedback!
What do you think about this topic ? Send us feedback!