Keil™, An ARM® Company

CARM User's Guide

Discontinued

CARM User's Guide

The CARM Compiler User's Guide contains information about how to use the Keil CARM Compiler. The CARM Compiler creates object modules from the C files you write and compile. Object modules created may be added into a library (using the LIBA Library Manager) or may be linked with other object modules and libraries to form a program (using the LA Linker/Locator).

This manual contains the following chapters.

  • Introduction provides a brief introduction to the Keil CARM Compiler.
  • Compiling Programs specifies how to run the compiler and generate object files. This chapter discusses the directives that are available.
  • Language Extensions discusses the extensions to the ANSI C Language that are implemented by the CARM Compiler.
  • Preprocessor describes some of the capabilities of the C language preprocessor.
  • Advanced Programming discusses advanced programming options including startup code, customization files, interfacing C programs to assembler, and data storage formats.
  • Error Messages lists all error and warning messages that are generated by the compiler.
  • Library Reference lists all library routines that are available in the standard CA library.
  • The Appendix provides numerous details about the compiler including differences from ANSI C, version details, compiler limitations, how to write optimum code, and other hints and tips.

Revision History

  • May 2004: First Beta draft.
  • Aug 2004: __task and __ram function attribute.
  • Oct 2004: Moved to web site.
  • April 2005: __inline function attribute and Assembler interface examples added.